From 55d6b657d31a3a9219b428ebbef89f0857a3aec6 Mon Sep 17 00:00:00 2001 From: marcopiraccini Date: Tue, 5 Dec 2023 06:28:45 +0100 Subject: [PATCH] linting --- sign-win.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sign-win.js b/sign-win.js index 7e91c9ac..1b47f6de 100644 --- a/sign-win.js +++ b/sign-win.js @@ -6,7 +6,6 @@ const { spawnSync } = require('child_process') // because we want to use the DigiCert signing tool to sign the executable. // See also: https://docs.digicert.com/en/digicert-keylocker/sign-with-digicert-signing-tools/sign-with-smctl.html exports.default = async function (configuration) { - console.log('Signing: ', configuration.path) const execPath = configuration.path @@ -16,13 +15,13 @@ exports.default = async function (configuration) { process.env.DIGICERT_FINGERPRINT, '--input', execPath - ], { encoding: 'utf-8' }) + ], { encoding: 'utf-8' }) if (child.error) { console.error('Signing failed:', child.error) throw new Error(child.error) } - + console.log(child.stdout) // `smctl` returns exit code 0 even if the signing fails :(. ) @@ -33,4 +32,4 @@ exports.default = async function (configuration) { throw new Error(child.stdout) } console.log('Signed ', configuration.path) -} \ No newline at end of file +}