From 1d7aa701bf4a3482ec51a425d6e4d34150b7aba9 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Fri, 15 Jan 2021 00:56:02 +0000 Subject: [PATCH] casting to integer --- sign.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign.js b/sign.js index 14bee1835f..cbae2b0ad7 100644 --- a/sign.js +++ b/sign.js @@ -1,5 +1,5 @@ exports.default = async function(configuration) { - if (process.env.ELECTRON_BUILDER_SIGN === 1) { + if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1) { require("child_process").execSync( `azuresigntool sign ` + `-kvu ${process.env.SIGNING_VAULT_URL} ` +