Skip to content

Commit 9d3eb31

Browse files
authoredNov 21, 2023
Update troubleshooting.md (#1320)
Having a pre-commit the previous documentation failed with ```shell $ git commit .husky/pre-commit: 9: /home/user/.huskyrc: [[: not found ``` Using this patch is compatible with /bin/bash
1 parent 6a5290c commit 9d3eb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/troubleshooting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export NVM_DIR="$HOME/.nvm"
2121
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
2222

2323
# If you have an .nvmrc file, we use the relevant node version
24-
if [[ -f ".nvmrc" ]]; then
24+
if [ -f ".nvmrc" ]; then
2525
nvm use
2626
fi
2727
```

0 commit comments

Comments
 (0)
Please sign in to comment.