From b1e7c1b4ea6ef9d663d9aecee59be8a2568fe51d Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Fri, 10 May 2024 09:25:56 +0100 Subject: [PATCH] Update bin/runapptests.js Co-authored-by: Rob Pilling --- bin/runapptests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runapptests.js b/bin/runapptests.js index d09481a1d..17d2e9ce2 100755 --- a/bin/runapptests.js +++ b/bin/runapptests.js @@ -485,7 +485,7 @@ emu.init({ console.table(testState); process.exit(testState.reduce((a,c)=>{ - return a + ((c.result == "SUCCESS") ? 0 : 1); + return a || ((c.result == "SUCCESS") ? 0 : 1); }, 0)) }); return p;