mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
build: show commit msg when verify commit (#4287)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/cli",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "vant cli tools",
|
||||
"main": "./src/index.js",
|
||||
"bin": {
|
||||
|
@@ -8,7 +8,7 @@ function commitLint() {
|
||||
const commitMsg = fs.readFileSync(gitParams, 'utf-8').trim();
|
||||
|
||||
if (!commitRE.test(commitMsg)) {
|
||||
signale.error(`Error: invalid commit message format.
|
||||
signale.error(`Error: invalid commit message: "${commitMsg}".
|
||||
|
||||
Proper commit message format is required for automated changelog generation.
|
||||
|
||||
|
Reference in New Issue
Block a user