Skip to content

Commit d8a87b4

Browse files
committed
shellcheck warnings
1 parent 857fb2d commit d8a87b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nvm-exec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
SOURCE=${BASH_SOURCE[0]}
4-
test -L "$SOURCE" && SOURCE=`readlink "$SOURCE"`
4+
test -L "$SOURCE" && SOURCE=$(readlink "$SOURCE")
55
DIR="$(command cd "$( dirname "$SOURCE" )" && pwd )"
66

77
# shellcheck disable=SC1090

nvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3202,7 +3202,7 @@ nvm() {
32023202
fi
32033203
fi
32043204
NVM_EXEC="$NVM_DIR/nvm-exec"
3205-
test ! -f "$NVM_EXEC" && NVM_EXEC=`dirname ${BASH_SOURCE[0]-}`/nvm-exec
3205+
test ! -f "$NVM_EXEC" && NVM_EXEC=$(dirname ${BASH_SOURCE[0]-})/nvm-exec
32063206
NODE_VERSION="$VERSION" "$NVM_EXEC" "$@"
32073207
;;
32083208
"ls" | "list" )

0 commit comments

Comments
 (0)