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 0d53381 commit 6d54d82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/install_script/nvm_download
100644 → 100755
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 6d54d82

Please sign in to comment.