Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 426 Bytes
diff --git a/index.js b/index.js
index 61bf354..c00dc03 100644
--- a/index.js
+++ b/index.js
@@ -156,7 +156,7 @@ class Installer {
)
return BB.join(
this.checkLock(),
- stat && rimraf(path.join(this.prefix, 'node_modules'))
+ stat && rimraf(path.join(this.prefix, 'node_modules/*'))
)
}).then(() => {
// This needs to happen -after- we've done checkLock()
You can’t perform that action at this time.