lib/_provisioning/provision-util.js
function (file, data) {
    module.exports.mkdirRecursive(path.dirname(file))
    fs.writeFileSync(file, data, {mode: _0644})
  }
function (file, data) {
    module.exports.mkdirRecursive(path.dirname(file))
    fs.writeFileSync(file, data, {mode: _0644})
  }
function ( file , data ) { module . exports . mkdirRecursive ( path . dirname ( file ) ) fs . writeFileSync ( file , data , { mode : _0644 } ) }
Saves the supplied data into the specified file. This function attempts to
create the directory in which the file would reside if the directory does
not already exist.
@param {String} file - File to create.
@param {String} data - Data to store in the file.
Saves the supplied data into the specified file . This function attempts to create the directory in which the file would reside if the directory does not already exist .