Skip to content

🎥 Make videos programmatically with React

Update pr.ts

Jonny Burger4beb7be0ce12
diff --git a/packages/it-tests/src/scripts/pr.ts b/packages/it-tests/src/scripts/pr.ts
index df6bc8b62f..5b4b6fedd3 100644
--- a/packages/it-tests/src/scripts/pr.ts
+++ b/packages/it-tests/src/scripts/pr.ts
@@ -35,7 +35,7 @@ const body = bodyIfThereIsOne.slice(0, indexOfDiff).trim();
await $`git push origin HEAD`;
const output =
- await $`gh pr create --title "${goodPrTitle.message}" --body "${body}"`.nothrow();
+ await $`gh pr create --title "${goodPrTitle.message}" --body "${body ?? ''}"`.nothrow();
const prLine = new TextDecoder()
.decode(output.stderr)