diff --git a/lib/projects/buildAndDeploy.ts b/lib/projects/buildAndDeploy.ts index 118577b22..1a1960f7f 100644 --- a/lib/projects/buildAndDeploy.ts +++ b/lib/projects/buildAndDeploy.ts @@ -82,7 +82,7 @@ type PollTaskStatusFunctionConfig = { accountId: number, taskName: string, taskId: number, - deployedBuildId: number + deployedBuildId: number | null ) => void; }; @@ -118,7 +118,7 @@ function makePollTaskStatusFunc({ ) { const displayId = deployedBuildId || taskId; - if (linkToHubSpot && !silenceLogs && deployedBuildId) { + if (linkToHubSpot && !silenceLogs) { logger.log( `\n${linkToHubSpot(accountId, taskName, taskId, deployedBuildId)}\n` );