Skip to content

Commit

Permalink
Bugfix/status (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
orgoro authored Oct 25, 2021
1 parent b0f17bd commit 76ac6a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function run(): Promise<void> {
core.setFailed('Coverage is lower then configured threshold 😭')
}
} catch (error) {
const message = JSON.stringify(error)
const message = JSON.stringify(error instanceof Error ? error.message : error)
core.setFailed(message)
if (checkId > 0) {
octokit.rest.checks.update({
Expand Down

0 comments on commit 76ac6a9

Please sign in to comment.