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
After searching, it seems the cause is the -n argument. From the git documentation [1], the correct argument is --no-verify and there is no -n shortcut.
What / Why
I'm running
npm version --no-commit-hooks
in my project, but it fails with the message:After searching, it seems the cause is the
-n
argument. From the git documentation [1], the correct argument is--no-verify
and there is no-n
shortcut.[1] https://git-scm.com/docs/git-commit/1.5.5#git-commit---no-verify
Source: https://github.com/npm/cli/blob/latest/lib/version.js#L290
Below is the relevant log information:
When
npm version --no-commit-hooks
Where
How
Current Behavior
npm version --no-commit-hooks
failsSteps to Reproduce
Expected Behavior
npm version --no-commit-hooks
succeedsWho
References
The text was updated successfully, but these errors were encountered: