We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3b8e0 commit 88d486aCopy full SHA for 88d486a
1 file changed
src/pull-requests.ts
@@ -203,6 +203,6 @@ export async function getPullRequestFiles({
203
additions: file.additions,
204
deletions: file.deletions,
205
changes: file.changes,
206
- patch: file.patch,
+ ...(file.patch && { patch: file.patch }),
207
}));
208
}
0 commit comments