mirror of
https://github.com/robertstettner/drone-npm-auth.git
synced 2026-06-04 18:23:58 +08:00
Adding newline to ensure added token works
This commit is contained in:
+2
-1
@@ -47,6 +47,7 @@ if [ ! -e ~/.npmrc ]; then
|
||||
echo "-- Error logging into NPM"
|
||||
exit 1
|
||||
else
|
||||
printf "\n" >> $path.npmrc
|
||||
cat ~/.npmrc >> $path.npmrc
|
||||
echo "-- NPM authentication done!"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user