MCPcopy Index your code
hub / github.com/promptfoo/promptfoo / hasPrPostableFindings

Function hasPrPostableFindings

src/codeScan/util/github.ts:31–33  ·  view source on GitHub ↗
(comments: Comment[])

Source from the content-addressed store, hash-verified

29 * Whether any findings can be posted to a pull request.
30 */
31export function hasPrPostableFindings(comments: Comment[]): boolean {
32 return comments.some(isPrPostableFinding);
33}
34
35function hasInlineCommentLocation(comment: Comment): boolean {
36 return (

Callers 2

handleScanResponseFunction · 0.90
github.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…