diff --git a/.github/contributing.md b/.github/contributing.md index 92b4c0795..f7fd73a60 100644 --- a/.github/contributing.md +++ b/.github/contributing.md @@ -31,7 +31,7 @@ Hi! I'm really excited that you are interested in contributing to Vue.js. Before - Make sure tests pass! -- Commit messages must follow the [commit message convention](./COMMIT_CONVENTION.md) so that changelogs can be automatically generated. Commit messages are automatically validated before commit. +- Commit messages must follow the [commit message convention](./commit-convention.md) so that changelogs can be automatically generated. Commit messages are automatically validated before commit. - No need to worry about code style as long as you have installed the dev dependencies - modified files are automatically formatted with Prettier on commit. diff --git a/scripts/verifyCommit.js b/scripts/verifyCommit.js index 5429d6c5a..9b76cf993 100644 --- a/scripts/verifyCommit.js +++ b/scripts/verifyCommit.js @@ -21,7 +21,7 @@ if (!commitRE.test(msg)) { ` ${chalk.green( `fix(v-model): handle events on blur (close #28)` )}\n\n` + - chalk.red(` See .github/COMMIT_CONVENTION.md for more details.\n`) + + chalk.red(` See .github/commit-convention.md for more details.\n`) + chalk.red( ` You can also use ${chalk.cyan( `npm run commit`