wallet-core/node_modules/gulp-util/lib/combine.js

12 lines
240 B
JavaScript
Raw Normal View History

2016-10-10 03:43:44 +02:00
var pipeline = require('multipipe');
module.exports = function(){
var args = arguments;
if (args.length === 1 && Array.isArray(args[0])) {
args = args[0];
}
return function(){
return pipeline.apply(pipeline, args);
};
};