fix: update commit-msg hook to show installation when commitlint is not installed

- When the `--no` flag is used with `npx`, it prevents the command from
being executed if the package is not installed. We should instead show a
message to the user indicating that they need to install `commitlint`.
This commit is contained in:
Haileyesus
2026-03-09 19:45:27 +03:00
parent c7dcba8d91
commit a17665e20b

View File

@@ -1 +1 @@
npx --no -- commitlint --edit $1
npx commitlint --edit $1