Skip to content

Commit

Permalink
Refine console logging for after_sign_hook.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jun 12, 2024
1 parent 23ed5a0 commit 88a9597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion after_sign_hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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...');
}
}

Expand Down

0 comments on commit 88a9597

Please sign in to comment.