hashly
Advanced tools
Comparing version 0.2.9 to 0.3.0
@@ -31,3 +31,3 @@ var path = require("path"); | ||
.map(function (f) { | ||
return path.resolve(cwd, f); | ||
return path.resolve(cwd, f).trim(); | ||
}); | ||
@@ -34,0 +34,0 @@ |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -217,3 +217,5 @@ "use strict"; | ||
if (filters[i].indexOf("*") < 0) { | ||
return filePath.toLowerCase().indexOf(filters[i]) >= 0; | ||
if (filePath.toLowerCase().indexOf(filters[i]) >= 0) { | ||
return true; | ||
} | ||
} else if (minimatch(path.basename(filePath), filters[i])) { | ||
@@ -220,0 +222,0 @@ return true; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "hashly", | ||
"version": "0.2.9", | ||
"version": "0.3.0", | ||
"description": "Renames static files with a hashcode for cache busting", | ||
@@ -5,0 +5,0 @@ "directories": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55397
18
741