Comparing version 7.0.0 to 7.0.1
13
glob.js
@@ -165,10 +165,19 @@ // Approach: | ||
var sync = true | ||
for (var i = 0; i < n; i ++) { | ||
this._process(this.minimatch.set[i], i, false, done) | ||
} | ||
sync = false | ||
function done () { | ||
--self._processing | ||
if (self._processing <= 0) | ||
self._finish() | ||
if (self._processing <= 0) { | ||
if (sync) { | ||
process.nextTick(function () { | ||
self._finish() | ||
}) | ||
} else { | ||
self._finish() | ||
} | ||
} | ||
} | ||
@@ -175,0 +184,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "a little globber", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -14,2 +14,8 @@ # Glob | ||
Install with npm | ||
``` | ||
npm i glob | ||
``` | ||
```javascript | ||
@@ -16,0 +22,0 @@ var glob = require("glob") |
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
54105
7
1215
366