From 9f0c6826dc6e3c404cf7f03429061148726e84a6 Mon Sep 17 00:00:00 2001 From: "powder-dev[bot]" Date: Sat, 15 Oct 2022 09:17:11 +0100 Subject: [PATCH] [bot] apply pattern --- scripts/tasks/danger.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/tasks/danger.js b/scripts/tasks/danger.js index e85dba26219cb..157a75ac49c56 100644 --- a/scripts/tasks/danger.js +++ b/scripts/tasks/danger.js @@ -31,9 +31,7 @@ spawn( ).on('close', function(code) { if (code !== 0) { console.error('Danger failed'); - } else { - console.log('Danger passed'); - } + } else {} process.exit(code); });