nvm/test/slow/nvm exec/Running 'nvm exec' with help should not parse
Ricky Bobby 06174ba58f commit
2024-03-19 15:27:10 +00:00

10 lines
206 B
Bash

#!/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"