From 128a03122ea417052d02535be7c3df59cd1cee89 Mon Sep 17 00:00:00 2001 From: Thomas Neil James Shadwell Date: Sat, 3 Sep 2022 18:06:30 -0700 Subject: [PATCH 1/2] Update program.ts --- deploy/program.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/program.ts b/deploy/program.ts index a223708b30..f0d990ef65 100644 --- a/deploy/program.ts +++ b/deploy/program.ts @@ -267,7 +267,11 @@ export const releaseNotes = if (pulumi_deploys.length) { for (const [, data] of pulumi_deploys) { - const d = data as UpResult; + const d = data; + if (!d) { + paragraphs.push(`A Pulumi deploy may have happened. It didn't give us any information, though.`); + continue; + } const items = [d.stdout, d.stderr].filter(isDefined); paragraphs.push( `A pulumi ${ From 3be4badf480d0193178c39872a21a5945da99149 Mon Sep 17 00:00:00 2001 From: zemnmez Date: Tue, 6 Sep 2022 11:24:22 -0700 Subject: [PATCH 2/2] fixes --- deploy/program.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/program.ts b/deploy/program.ts index f0d990ef65..c1abd841ce 100644 --- a/deploy/program.ts +++ b/deploy/program.ts @@ -269,7 +269,9 @@ export const releaseNotes = for (const [, data] of pulumi_deploys) { const d = data; if (!d) { - paragraphs.push(`A Pulumi deploy may have happened. It didn't give us any information, though.`); + paragraphs.push( + `A Pulumi deploy may have happened. It didn't give us any information, though.` + ); continue; } const items = [d.stdout, d.stderr].filter(isDefined);