Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt <enrico.weigelt@gr13.net>2018-03-09 00:15:58 +0300
committerKat Marchán <kzm@sykosomatic.org>2018-03-09 01:20:46 +0300
commit8150dd5f72520eb143f75e44787a5775bd8b8ebc (patch)
tree07d0d57bc8d84c8ec2100244f034e6dcc9f5c946 /Makefile
parentb2a1cf0844ceaeb51ed04f3ae81678527ec9ae68 (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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 42b7beda9..42e465e7d 100644
--- a/Makefile
+++ b/Makefile
@@ -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