mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-18 19:24:21 +08:00
replaced fatalExit function for 'inline' exit
exit on errors (set -e) simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
NVM_DIR="$HOME/.nvm"
|
||||
|
||||
if ! hash git 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user