assemble-fs
Advanced tools
Comparing version 0.4.1 to 0.4.2
11
index.js
@@ -32,3 +32,7 @@ /*! | ||
// assume none of the handlers exist if `onStream` does not exist | ||
/** | ||
* Setup middleware handlers. Assume none of the handlers exist if `onStream` | ||
* does not exist. | ||
*/ | ||
if (typeof app.handler === 'function' && typeof app.onStream !== 'function') { | ||
@@ -58,4 +62,5 @@ app.handler('onStream'); | ||
app.mixin('copy', function(patterns, dest, options) { | ||
return this.src(patterns, options) | ||
.pipe(this.dest(dest, options)) | ||
var opts = utils.extend({ allowEmpty: true }, options); | ||
return utils.vfs.src(patterns, opts) | ||
.pipe(utils.vfs.dest(dest, opts)) | ||
}); | ||
@@ -62,0 +67,0 @@ |
{ | ||
"name": "assemble-fs", | ||
"description": "Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"homepage": "https://github.com/assemble/assemble-fs", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10718
154