Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix: fix inverted status reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z committed Dec 26, 2019
1 parent f87af16 commit 583e3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function run() {

let state = 'success';
let description = successState;
if (!error) {
if (error) {
state = 'pending';
description = failureState;
}
Expand Down

0 comments on commit 583e3da

Please sign in to comment.