This commit is contained in:
oitsjustjose 2017-02-25 03:50:31 -05:00
commit 4e066bffc9
10017 changed files with 1322084 additions and 0 deletions

View file

@ -0,0 +1,13 @@
'use strict';
var fs = require('graceful-fs');
function writeBuffer(writePath, file, cb) {
var opt = {
mode: file.stat.mode
};
fs.writeFile(writePath, file.contents, opt, cb);
}
module.exports = writeBuffer;