angular-cn/dev-infra/commit-message
Joey Perrott f9421184ef refactor(dev-infra): update commit message validation to return validation result (#38703)
Previously, the validateCommitMessage function ran validation and logged the results.
The validateCommitMessage function now returns an object containing the validation
results and the cli action functions are instead responsible for logging the results.

This is being done as a prefactor for a change which allows for commit message
hook validation to be either a blocking error or a warning.

PR Close #38703
2020-09-09 16:22:36 -07:00
..
BUILD.bazel feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00
builder.spec.ts feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00
builder.ts feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00
cli.ts feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00
commit-message-draft.ts feat(dev-infra): save invalid commit message attempts to be restored on next commit attempt (#38304) 2020-08-13 08:45:25 -07:00
config.ts fix(dev-infra): set build commit message type to allow an optional scope (#38745) 2020-09-09 09:06:33 -07:00
parse.spec.ts fix(dev-infra): ignore comments when validating commit messages (#38438) 2020-08-21 12:17:14 -07:00
parse.ts fix(dev-infra): ignore comments when validating commit messages (#38438) 2020-08-21 12:17:14 -07:00
restore-commit-message.ts fix(dev-infra): change logging of commit message restoration to debug (#38704) 2020-09-08 10:07:03 -07:00
validate-file.ts refactor(dev-infra): update commit message validation to return validation result (#38703) 2020-09-09 16:22:36 -07:00
validate-range.ts refactor(dev-infra): update commit message validation to return validation result (#38703) 2020-09-09 16:22:36 -07:00
validate.spec.ts refactor(dev-infra): update commit message validation to return validation result (#38703) 2020-09-09 16:22:36 -07:00
validate.ts refactor(dev-infra): update commit message validation to return validation result (#38703) 2020-09-09 16:22:36 -07:00
wizard.ts feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00