mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-17 21:32:40 +00:00
[Fix] exec
: --
should stop argument parsing
Co-authored-by: Vesa Vilhonen <vesa@vilhonen.com> Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
This commit is contained in:

committed by
Jordan Harband

parent
4fdef427e4
commit
52f67b3677
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
\. ../../../nvm.sh
|
||||
|
||||
nvm use 0.10
|
||||
|
||||
nvm exec stable -- node --help | grep 'Usage: node [options]' || die "Help menu should have been displayed for node and not nvm"
|
Reference in New Issue
Block a user