mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 19:59:04 +00:00
[Fix] Github should be GitHub
This commit is contained in:

committed by
Jordan Harband

parent
8e6201b5b1
commit
182a18d911
@@ -17,7 +17,7 @@ wget() {
|
||||
|
||||
OUTPUT="$(nvm_get_latest 2>&1)"
|
||||
EXIT_CODE="$(nvm_get_latest >/dev/null 2>&1 ; echo $?)"
|
||||
[ "_$OUTPUT" = "_http://latest.nvm.sh did not redirect to the latest release on Github" ] \
|
||||
[ "_$OUTPUT" = "_http://latest.nvm.sh did not redirect to the latest release on GitHub" ] \
|
||||
|| die "failed redirect did not report correct error message, got '$OUTPUT'"
|
||||
[ "_$EXIT_CODE" = "_2" ] \
|
||||
|| die "failed redirect did not exit with code 2, got $EXIT_CODE"
|
||||
|
Reference in New Issue
Block a user