Migration datamodels !
This commit is contained in:
18
node_modules/vinyl-fs/lib/src/wrap-vinyl.js
generated
vendored
Normal file
18
node_modules/vinyl-fs/lib/src/wrap-vinyl.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
var File = require('vinyl');
|
||||
var through = require('through2');
|
||||
|
||||
function wrapVinyl() {
|
||||
|
||||
function wrapFile(globFile, enc, callback) {
|
||||
|
||||
var file = new File(globFile);
|
||||
|
||||
callback(null, file);
|
||||
}
|
||||
|
||||
return through.obj(wrapFile);
|
||||
}
|
||||
|
||||
module.exports = wrapVinyl;
|
||||
Reference in New Issue
Block a user