From 9d3eb31cd14d3fbdb77225d23a0c5a11f71beb2c Mon Sep 17 00:00:00 2001 From: hexagon6 Date: Tue, 21 Nov 2023 19:21:06 +0100 Subject: [PATCH] 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 --- docs/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index bfe616fc4..cb1ed6051 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -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 ```