diff options
author | Enrico Weigelt <enrico.weigelt@gr13.net> | 2018-03-09 00:15:58 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2018-03-09 01:20:46 +0300 |
commit | 8150dd5f72520eb143f75e44787a5775bd8b8ebc (patch) | |
tree | 07d0d57bc8d84c8ec2100244f034e6dcc9f5c946 /Makefile | |
parent | b2a1cf0844ceaeb51ed04f3ae81678527ec9ae68 (diff) |
makefile: dont call destructive 'uninstall' on clean (#16540)
The 'clean' rule calls 'uninstall', which attemts ***destructive***
operation in the host system and fails if run as unprivileged user.
PR-URL: https://github.com/npm/npm/pull/16540
Credit: @metux
Reviewed-By: @iarna
Reviewed-By: @zkat
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ dev: install link: uninstall node bin/npm-cli.js link -f -clean: markedclean marked-manclean doc-clean uninstall +clean: markedclean marked-manclean doc-clean rm -rf npmrc node bin/npm-cli.js cache clean |