Comparing version 0.1.16 to 0.1.17
@@ -19,11 +19,4 @@ /* | ||
var fs = require('fs') | ||
, glob; | ||
, glob; // Lazy-required | ||
try { | ||
glob = require('glob'); | ||
} | ||
catch(e) { | ||
fail('FileList requires glob (https://github.com/isaacs/node-glob). Try `npm install glob`.'); | ||
} | ||
// Constants | ||
@@ -77,2 +70,12 @@ // --------------- | ||
// Lazy-require glob so that require of this file in cli.js won't bomb | ||
if (!glob) { | ||
try { | ||
glob = require('glob'); | ||
} | ||
catch(e) { | ||
fail('FileList requires glob (https://github.com/isaacs/node-glob). Try `npm install glob`.'); | ||
} | ||
} | ||
// List of glob-patterns or specific filenames | ||
@@ -79,0 +82,0 @@ this.pendingAdd = []; |
{ "name": "jake" | ||
, "version": "0.1.16" | ||
, "version": "0.1.17" | ||
, "author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)" | ||
@@ -4,0 +4,0 @@ , "bin": { "jake": "./bin/cli.js" } |
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
63776
1393