def hit

bolt@1.27.0.0 · src/rules/suspicious/prefix.bend:268

import bolt@1.27.0.0/src/rules/suspicious/prefix.bend as Prefix
import Base
import bolt@1.27.0.0/src/finding.bend as F

268# the finding a run makes, if any, before the rest
269def hit(mm: Maybe<&2, String>, +path: String, +ll: U32, +cc: U32, more: List<&2, F.Finding>) -> List<&2, F.Finding>:
270  match mm:
271    case None{}:
272      more
273    case Some{msg}:
274      F.Finding{path, ll, cc, 9, "prefix", msg} <> more

Uses (5)

Used by (1)