mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Install devDeps in the root package path where they're not cached
This commit is contained in:
@@ -95,7 +95,8 @@ for (let packageName in CONFIG.appMetadata.packageDependencies) {
|
||||
if (require(pkgJsonPath).atomTestRunner) {
|
||||
console.log(`Installing test runner dependencies for ${packageName}`.bold.green)
|
||||
if (fs.existsSync(nodeModulesPath)) {
|
||||
finalize = backupNodeModules(repositoryPackagePath)
|
||||
const backup = backupNodeModules(repositoryPackagePath)
|
||||
finalize = backup.restore
|
||||
} else {
|
||||
finalize = () => fs.removeSync(nodeModulesPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user