Skip to content

createCommitMsg

createCommitMsg(holocronScript?): string

Defined in: cli/astromech/src/templates/configs/commit-msg/create-config.ts:17

.husky/commit-msg — lints the commit message via holocron run lint commit-msg (holocron#789), the real programmatic replacement for shelling out to commitlint --edit. Installed by holocron setup when hooks are enabled. Same __HOLOCRON_SCRIPT__ substitution as pre-push.

string = "pnpm exec holocron"

the command that invokes the CLI. Defaults to pnpm exec holocron; the source repo passes node cli/cli/dist/cli.mjs.

string