Skip to content

Commit

Permalink
fix(yarn): fix yarn command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Kopriwa committed Apr 25, 2020
1 parent 783ba81 commit 4b65a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ done
if [[ ! -d node_modules ]]; then
if [[ ${installer} = yarn ]]; then
echo "Installing dependencies with ${installer}"
[[ $(which yarn) = "" ]] && curl -o- -L https://yarnpkg.com/install.sh | bash
[[ $(which yarn) = "" ]] && export PATH=$HOME/.yarn/bin:$PATH && curl -o- -L https://yarnpkg.com/install.sh | bash
yarn
else
npm install
Expand Down

0 comments on commit 4b65a94

Please sign in to comment.