Don't recurse into packageDirPaths to look for packagePaths

This commit is contained in:
Corey Johnson
2013-02-12 17:34:36 -08:00
parent e1219b9fcf
commit 7ff0450379

View File

@@ -8,6 +8,6 @@ for path in fs.listTree(require.resolve("spec")) when /-spec\.coffee$/.test path
# Run extension specs
for packageDirPath in config.packageDirPaths
for packagePath in fs.listTree(packageDirPath)
for packagePath in fs.list(packageDirPath)
for path in fs.listTree(fs.join(packagePath, "spec")) when /-spec\.coffee$/.test path
require path