shellcheck warnings

This commit is contained in:
Matt Saladna
2018-06-21 14:38:55 -04:00
committed by Jordan Harband
parent acbd22fc7e
commit 2cfe795599
2 changed files with 2 additions and 2 deletions

2
nvm.sh
View File

@@ -4078,7 +4078,7 @@ nvm() {
NVM_EXEC="${NVM_DIR}/nvm-exec"
if [ ! -f "${NVM_EXEC}" ]; then
NVM_EXEC=`dirname ${BASH_SOURCE[0]-}`/nvm-exec
NVM_EXEC="$(dirname "${BASH_SOURCE[0]-}")/nvm-exec"
fi
NODE_VERSION="${VERSION}" "${NVM_EXEC}" "$@"
;;