Skip to content

Commit

Permalink
buildId can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenrodgers committed Dec 18, 2024
1 parent afb606c commit 10ffca2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions lib/projects/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ async function uploadProjectFiles(
}),
});

logger.debug(
i18n(`${i18nKey}.uploadProjectFiles.buildCreated`, {
buildId,
projectName,
})
);
if (buildId) {
logger.debug(
i18n(`${i18nKey}.uploadProjectFiles.buildCreated`, {
buildId,
projectName,
})
);
}
} catch (err) {
SpinniesManager.fail('upload', {
text: i18n(`${i18nKey}.uploadProjectFiles.fail`, {
Expand Down

0 comments on commit 10ffca2

Please sign in to comment.