appcache-glob
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -133,5 +133,14 @@ var async = require("async"); | ||
options.cwd = this._options.cwd; | ||
file = file.replace(/^\//, ""); | ||
} | ||
glob(file, options, callback); | ||
glob(file, options, function(err, files) { | ||
if (files) { | ||
files = files.map(function(file) { | ||
return "/" + file; | ||
}); | ||
} | ||
callback(err, files); | ||
}); | ||
} | ||
@@ -155,3 +164,3 @@ }, | ||
async.each(Object.keys(this._data), function(key, callback) { | ||
async.concat(self._data[key], function(file, callback) { | ||
async.concatSeries(self._data[key], function(file, callback) { | ||
self._glob(file, callback); | ||
@@ -158,0 +167,0 @@ }, function(err, files) { |
{ | ||
"name": "appcache-glob", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "appcache.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
5896
139