Skip to content

Commit 4012206

Browse files
authored
Merge pull request #43 from hanoii/feature/remove-node-gyt
remove ~/.node-gyp as well
2 parents 24f48e2 + 7bc6ea3 commit 4012206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node-reinstall

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ else
160160
fi
161161

162162
# erase all local install paths
163-
DIRECTORIES=("local" "lib" "include" "node*" "npm" ".npm")
163+
DIRECTORIES=("local" "lib" "include" "node*" "npm" ".npm" ".node-gyp")
164164
for i in "${DIRECTORIES[@]}"
165165
do
166166
if [ -d $HOME/$i ]; then
@@ -173,7 +173,7 @@ do
173173
# do whatever on $i
174174
done
175175

176-
rm -rf $HOME/{local,lib,include,node*,npm,.npm*}
176+
rm -rf $HOME/{local,lib,include,node*,npm,.npm*,.node-gyp}
177177

178178
# erase globally installed node paths
179179
sudo rm -rf $PREFIX/lib/node*

0 commit comments

Comments
 (0)