mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-07 21:17:53 +00:00
[meta] Rename some files to be more cross platform
This commit is contained in:

committed by
Jordan Harband

parent
4e9df33cb7
commit
9849bf494d
11
test/fast/Running 'nvm current' should display current nvm environment
Executable file
11
test/fast/Running 'nvm current' should display current nvm environment
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
\. ../../nvm.sh
|
||||
|
||||
nvm deactivate 2>&1
|
||||
|
||||
[ "$(nvm current)" = "system" ] || [ "$(nvm current)" = "none" ] || die '"nvm current" did not report "system" or "none" when deactivated'
|
Reference in New Issue
Block a user