Fix for the fix for extensionless IB resource names.

This commit is contained in:
Ross Boucher committed 2010-11-03 11:18:37 -07:00
1 parent 2e9684e9a7
commit b85e9d83b8
1 file changed
+1 -3
+1 -3
View File
@@ -68,9 +68,7 @@ var FILE = require("file");
else if (FILE.isDirectory(path))
pathGroups.push(FILE.listPaths(path));
else if (!FILE.extension(aName) &&
FILE.basename(path) === aName &&
["png", "gif", "jpg", "jpeg", "cib"].indexOf(FILE.extension(path)) !== -1)
else if (!FILE.extension(aName) && FILE.basename(path).replace(/\.[^.]*$/, "") === aName)
return path;
}
}