--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
13
node_modules/vinyl-fs/lib/dest/writeContents/writeBuffer.js
generated
vendored
Normal file
13
node_modules/vinyl-fs/lib/dest/writeContents/writeBuffer.js
generated
vendored
Normal 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;
|
||||
Loading…
Reference in a new issue