Skip to content

Commit

Permalink
perhaps updating npm with sudo prevents CI from a permissions crash
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Sep 27, 2021
1 parent 98edbfe commit 908bee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pushd "$(dirname "$0")" > /dev/null
echo -e "\e[1m\e[35mUPDATE NPM ------------------------------\e[0m"
echo old version:
npm -v
npm i -g npm
sudo npm i -g npm
echo new version:
npm -v
echo -e "\e[1m\e[35m-----------------------------------------\e[0m"
Expand Down

0 comments on commit 908bee6

Please sign in to comment.