Skip to content

Commit

Permalink
Update troubleshooting.md (#1320)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hexagon6 authored Nov 21, 2023
1 parent 6a5290c commit 9d3eb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# If you have an .nvmrc file, we use the relevant node version
if [[ -f ".nvmrc" ]]; then
if [ -f ".nvmrc" ]; then
nvm use
fi
```
Expand Down

0 comments on commit 9d3eb31

Please sign in to comment.