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

Function pushValue

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

Source from the content-addressed store, hash-verified

55}
56
57function pushValue(args: string[], flag: string, value: string | number | undefined): void {
58 if (value !== undefined && value !== "") {
59 args.push(flag, String(value))
60 }
61}
62
63function buildReviewArgs(input: ReviewInput): string[] {
64 const hasRange = input.from !== undefined || input.to !== undefined

Callers 1

buildReviewArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected