You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using vscode's source control panel to do commit (with a precommit check) , but I got this error:
I'm using git bash as vscode's integrated termial, I can do commit in command line but not in the gui.
And I've also set the powershell profile as described in readme because I'm not sure if the vsocde git commit gui uses powershell or git bash, but that doesn't work either.
Is there any workaround in fnm or should I tweak with the vscode settings?
The text was updated successfully, but these errors were encountered:
I see. After digging into the git log error and look into the pre-commit hook, I find that the hook script is not evaluating fnm. Add following lines (found here #390 ), problem temporarily solved:
**apparently no node in this PATH**
# Node standard installation
export PATH="$PATH:/c/Program Files/nodejs"
+ # evaluate fnm + eval $(fnm env | sed 1d)+ export PATH=$(cygpath $FNM_MULTISHELL_PATH):$PATH# Export Git hook params
export GIT_PARAMS="$*"
I'm using vscode's source control panel to do commit (with a precommit check) , but I got this error:
I'm using git bash as vscode's integrated termial, I can do commit in command line but not in the gui.
And I've also set the powershell profile as described in readme because I'm not sure if the vsocde git commit gui uses powershell or git bash, but that doesn't work either.
Is there any workaround in fnm or should I tweak with the vscode settings?
The text was updated successfully, but these errors were encountered: