Comparing version 0.2.5 to 0.2.6
@@ -1,5 +0,7 @@ | ||
var fs = require("fs"), | ||
glob = require("glob"), | ||
Glob = glob.Glob, | ||
a = require("array-tools"); | ||
"use strict"; | ||
var fs = require("fs"); | ||
var glob = require("glob"); | ||
var Glob = glob.Glob; | ||
var a = require("array-tools"); | ||
var path = require("path"); | ||
@@ -77,2 +79,4 @@ /** | ||
nonExistingFiles.push(file); | ||
} else { | ||
throw err; | ||
} | ||
@@ -83,2 +87,3 @@ } | ||
nonExistingFiles.forEach(function(file){ | ||
file = path.normalize(file); | ||
var glob = new Glob(file, { sync: true, stat: true }); | ||
@@ -85,0 +90,0 @@ if (glob.found.length){ |
{ | ||
"name": "file-set", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Expands file patterns, returning the matched and unmatched files and directories.", | ||
@@ -5,0 +5,0 @@ "main": "lib/file-set.js", |
11152
152