mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
build: show commit msg when verify commit (#4287)
This commit is contained in:
@@ -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