aboutsummaryrefslogtreecommitdiffstats
path: root/build-helpers
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
commit99ca310c73024b51fed1f3077375eed7827f2c20 (patch)
tree2bd15986f448129a2291acba90ccc6bf68a233e0 /build-helpers
parentDisable in-app auto-updates for portable windows installation (fixes #1088) (... (diff)
downloadferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.gz
ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.zst
ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.zip
Fix issues reported by sonarqube linter
Diffstat (limited to 'build-helpers')
-rw-r--r--build-helpers/notarize.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js
index a067a9882..32faa97b8 100644
--- a/build-helpers/notarize.js
+++ b/build-helpers/notarize.js
@@ -1,6 +1,11 @@
1exports.default = async function notarizing(context) { 1exports.default = async function notarizing(context) {
2 const { electronPlatformName, appOutDir } = context; 2 const { electronPlatformName, appOutDir } = context;
3 if (electronPlatformName !== 'darwin' || process.env.CSC_IDENTITY_AUTO_DISCOVERY === 'false' || (process.env.GIT_BRANCH_NAME !== 'release' && process.env.GIT_BRANCH_NAME !== 'nightly')) { 3 if (
4 electronPlatformName !== 'darwin' ||
5 process.env.CSC_IDENTITY_AUTO_DISCOVERY === 'false' ||
6 (process.env.GIT_BRANCH_NAME !== 'release' &&
7 process.env.GIT_BRANCH_NAME !== 'nightly')
8 ) {
4 return; 9 return;
5 } 10 }
6 11