fix: test

This commit is contained in:
lsxredrain 2021-09-18 15:09:17 +08:00
parent c705ca53bb
commit cf09d384cb
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Each commit message consists of a **header**, a **body** and a **footer**. The h
```
The **header** with **type** is mandatory. The **scope** of the header is optional. This repository has no predefined scopes. A custom scope can be used for clarity if desired.
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier to read on GitHub as well as in various git tools.

View File

@ -75,7 +75,7 @@ function funShell() {
logs(chalk.red('changelog error'))
}
shell.exec('git add -A .')
shell.exec(`git commit -m ${commitType}: &{commitMsg}`)
shell.exec(`git commit -m ${commitType}: ${commitMsg}`)
shell.exec('git push')
}