From 190fb423da418fd1270483f8c37e5d32d082ed6d Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Wed, 6 Jan 2021 19:46:37 +0000 Subject: [PATCH] fixing unknown syntax error --- sign.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sign.js b/sign.js index e2b5be6ccf..14bee1835f 100644 --- a/sign.js +++ b/sign.js @@ -1,11 +1,5 @@ exports.default = async function(configuration) { - - console.log('+++++++++++++++++++++++++++++++++++++++++++++++++++') - console.log(`ELECTRON_BUILDER_SIGN: ${process.env.ELECTRON_BUILDER_SIGN}`) - console.log(`Type: ${typeof process.env.ELECTRON_BUILDER_SIGN}`) - console.log('+++++++++++++++++++++++++++++++++++++++++++++++++++') - - if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1) { + if (process.env.ELECTRON_BUILDER_SIGN === 1) { require("child_process").execSync( `azuresigntool sign ` + `-kvu ${process.env.SIGNING_VAULT_URL} ` +