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 21, 2024
1 parent c31a867 commit 4792d12
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"

cleanup

0 comments on commit 4792d12

Please sign in to comment.