mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 22:39:10 +00:00
Make sure nvm ls foo
returns a nonzero exit code when a version is not found.
Fixes #440.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../../nvm.sh
|
||||
|
||||
nvm ls nonexistent_version
|
||||
[ "$?" = "3" ]
|
||||
|
Reference in New Issue
Block a user