assigning correct type

This commit is contained in:
Joseph Flinn 2021-01-06 19:43:42 +00:00
parent 5eb10afe85
commit b1e4bd4bdb
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ exports.default = async function(configuration) {
console.log(`Type: ${typeof process.env.ELECTRON_BUILDER_SIGN}`)
console.log('+++++++++++++++++++++++++++++++++++++++++++++++++++')
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} ` +