mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
fix: also show stack when an error happens
This commit is contained in:
parent
97a58520d3
commit
2c42093c70
1 changed files with 1 additions and 1 deletions
2
run.js
2
run.js
|
|
@ -87,7 +87,7 @@ const showLintResults = async ([from, to]) => {
|
|||
}
|
||||
|
||||
const exitWithMessage = message => error => {
|
||||
core.setFailed(`${message}\n${error}`)
|
||||
core.setFailed(`${message}\n${error.message}\n${error.stack}`)
|
||||
}
|
||||
|
||||
const main = () =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue