mirror of
https://github.com/robertstettner/drone-npm-auth.git
synced 2026-06-04 10:15:03 +08:00
Merge pull request #1 from trevorah/master
fix plugin trashing existing .npmrc
This commit is contained in:
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user