Merge pull request #1 from trevorah/master

fix plugin trashing existing .npmrc
This commit is contained in:
Robert Stettner
2019-01-14 16:38:28 +00:00
committed by GitHub
+1 -1
View File
@@ -47,6 +47,6 @@ if [ ! -e ~/.npmrc ]; then
echo "-- Error logging into NPM"
exit 1
else
echo $(cat ~/.npmrc) | sed 's/[[:blank:]]\+/\n/g' > $path.npmrc
cat ~/.npmrc >> $path.npmrc
echo "-- NPM authentication done!"
fi