Skip to content

Commit

Permalink
shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
msaladna authored and chall8908 committed Mar 10, 2023
1 parent d7058a4 commit 9dc29fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nvm-exec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

DIR="$(dirname $(realpath "${BASH_SOURCE[0]}"))"
DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"

# shellcheck disable=SC1090,SC1091
\. "$DIR/nvm.sh" --no-use
Expand Down
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3813,7 +3813,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}" "$@"
;;
Expand Down

0 comments on commit 9dc29fd

Please sign in to comment.