MCPcopy Create free account
hub / github.com/alibaba/open-code-review / pushValue

Function pushValue

plugins/open-code-review/opencode/open-code-review.ts:73–77  ·  view source on GitHub ↗
(args: string[], flag: string, value: string | number | undefined)

Source from the content-addressed store, hash-verified

71}
72
73function pushValue(args: string[], flag: string, value: string | number | undefined): void {
74 if (value !== undefined && value !== "") {
75 args.push(flag, String(value))
76 }
77}
78
79function buildReviewArgs(input: ReviewInput, repo: string, backgroundFile?: string): string[] {
80 const hasRange = input.from !== undefined || input.to !== undefined

Callers 1

buildReviewArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected