Skip to content

Commit 28b2f1d

Browse files
committed
Fix sync script
Change-Id: I9d074bc6429078e8b44d887ce8c10942455cfc16 Co-developed-by: Cursor <noreply@cursor.com>
1 parent 95ea1ab commit 28b2f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/sync-upstream.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ create_pr() {
173173
title="chore: sync ${upstream_desc} into ${BASE_BRANCH}"
174174
local body_file
175175
body_file=$(mktemp)
176-
trap 'rm -f "$body_file"' EXIT
176+
trap 'rm -f "${body_file:-}"' EXIT
177177
cat <<EOF >"$body_file"
178178
## Summary
179179
- Merge upstream \`${upstream_desc}\` into \`${BASE_BRANCH}\`

0 commit comments

Comments
 (0)