mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 01:58:17 +00:00
Add nvm_node_prefix
This commit is contained in:
7
test/fast/Unit tests/nvm_node_prefix
Executable file
7
test/fast/Unit tests/nvm_node_prefix
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
die () { echo $@ ; exit 1; }
|
||||
|
||||
. ../../../nvm.sh
|
||||
|
||||
[ "$(nvm_node_prefix)" = "node" ] || die '"nvm_node_prefix" did not return the string "node". why did this fail?!'
|
Reference in New Issue
Block a user