From 88a9597ea3288163d0b4e3a7267999efd23a46ca Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Wed, 12 Jun 2024 16:17:50 +1000 Subject: [PATCH] Refine console logging for `after_sign_hook.js` --- after_sign_hook.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/after_sign_hook.js b/after_sign_hook.js index 9528f32c9..96a0961b6 100644 --- a/after_sign_hook.js +++ b/after_sign_hook.js @@ -25,7 +25,7 @@ module.exports = async function (params) { } else { // eslint-disable-next-line no-console console.log( - `No env file found at ${envPath}. Checking individual values...` + `No env file found at ${envPath}. Looking for required env vars individually...` ); let errors = []; if (process.env.APP_STORE_CONNECT_API_KEY_KEY_ID === undefined) { @@ -48,6 +48,8 @@ module.exports = async function (params) { throw new Error( `Could not begin signing macOS build. Errors: ${errors.join('\n')}` ); + } else { + console.log('All required env vars found. Moving on...'); } }