From 583e3da41189783f8e5371c9e50a821ed21196e1 Mon Sep 17 00:00:00 2001 From: Zadkiel Date: Thu, 26 Dec 2019 22:20:34 +0100 Subject: [PATCH] fix: fix inverted status reporting --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2ee8f296..85e40ee6 100644 --- a/src/index.js +++ b/src/index.js @@ -31,7 +31,7 @@ async function run() { let state = 'success'; let description = successState; - if (!error) { + if (error) { state = 'pending'; description = failureState; }