Skip to content

Commit e04de91

Browse files
nanotaboadaclaude
andcommitted
fix(config): guard nvm use within the nvm.sh existence check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ad34add commit e04de91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.envrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export NVM_DIR="$HOME/.nvm"
2-
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
3-
nvm use
2+
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh" && nvm use

0 commit comments

Comments
 (0)