Fix actions/tour
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 Transform = require('streamx').Transform;
|
||||
|
||||
function wrapVinyl() {
|
||||
function wrapFile(globFile, callback) {
|
||||
var file = new File(globFile);
|
||||
|
||||
callback(null, file);
|
||||
}
|
||||
|
||||
return new Transform({
|
||||
transform: wrapFile,
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = wrapVinyl;
|
||||
Reference in New Issue
Block a user