Skip to content

Commit

Permalink
[Fix] nvm_download: ensure all args are quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 23, 2024
1 parent 0d53381 commit 2cd66ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/install_script/nvm_download
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install
die "nvm_download should fail to download no existing file"
fi

nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" -o "; die quoted-command-not-quoted" || die 'command failed'

cleanup

0 comments on commit 2cd66ce

Please sign in to comment.