mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't recurse into packageDirPaths to look for packagePaths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user