Skip to content

Commit

Permalink
chore: remove direct npm path from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Mar 21, 2024
1 parent 32f3787 commit 7845dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/scripts/after-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

/home/ubuntu/.nvm/versions/node/v18.12.1/bin/npm i
npm i
2 changes: 1 addition & 1 deletion aws/scripts/application-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

/home/ubuntu/.nvm/versions/node/v18.12.1/bin/npm run start
npm run start

0 comments on commit 7845dd6

Please sign in to comment.