From 86c004be7fb39d13b4f26bdd4701e69153e29bd1 Mon Sep 17 00:00:00 2001 From: Enzo Rivello Date: Thu, 24 Aug 2017 14:27:57 +0100 Subject: [PATCH] removing the directive to remove the node_modules folder (#2246) --- scripts/npm-publish.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/npm-publish.sh b/scripts/npm-publish.sh index 57e3cb5d7b..c90aecca61 100755 --- a/scripts/npm-publish.sh +++ b/scripts/npm-publish.sh @@ -137,8 +137,7 @@ do echo "====== PUBLISHING: ${DESTDIR} ===== npm publish ${OPTIONS}" npm publish ${OPTIONS} || exit 1 - rm -rf node_modules - + if $EXEC_CHANGE_REGISTRY == true; then npm run rimraf .npmrc fi