Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
fix: don't report state as error
Browse files Browse the repository at this point in the history
The state should be reported as "failure" instead of "error"
  • Loading branch information
z0al committed Dec 15, 2017
1 parent 47d9c76 commit b0ff83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const commitlint = async ({ github, payload }) => {
// Final status
await github.repos.createStatus({
...statusInfo,
state: report.valid ? 'success' : 'error',
state: report.valid ? 'success' : 'failure',
description: summary
})
// Write a comment with the details (if any)
Expand Down

0 comments on commit b0ff83d

Please sign in to comment.