Skip to content

get

get(_, prId): Promise<string | null>

Defined in: review/src/sources/ghPrDiffSource.ts:16

Gets PR diff using GitHub CLI

ProviderConfig | null

config (unused in this source)

string | undefined

GitHub PR number. When omitted, GitHub CLI resolves the PR for the current branch.

Promise<string | null>

GitHub PR diff content or null if not found