5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00

fix: also show stack when an error happens

This commit is contained in:
Wagner Santos 2019-10-18 16:29:58 -03:00
parent 97a58520d3
commit 2c42093c70

2
run.js
View file

@ -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 = () =>