Skip to content

Commit

Permalink
fix: the npm dir config
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Dec 21, 2024
1 parent dc9b35b commit 6c6a286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_fe() {

if ! command -v nvm &> /dev/null; then
# shellcheck disable=SC2155
export NVM_DIR="$([ -z "${XDG_CONFIG_BLOG-}" ] && printf %s "${BLOG}/.nvm" || printf %s "${XDG_CONFIG_BLOG}/nvm")"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
fi
nvm use "$NODE_VERSION"
Expand Down

0 comments on commit 6c6a286

Please # to comment.