From f5819e4df092d971ef0b3b9edfffb38ebe8ccdf5 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sat, 21 Jun 2025 17:50:29 +0200 Subject: [PATCH] Compare with strict equality --- util/executeCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/executeCommand.js b/util/executeCommand.js index 25bfd1d..ee4cce6 100644 --- a/util/executeCommand.js +++ b/util/executeCommand.js @@ -4,7 +4,7 @@ module.exports = function(command, commandArgs, verbose=false) { console.log("Executing:", command, commandArgs.join(" ")); try { const output = execFileSync(command, commandArgs, {encoding: 'utf8'}) - if (output.length != 0 && verbose) + if (output.length !== 0 && verbose) console.log(output) } catch (error) { console.error(`Error executing ${command} command:`, error);