def sync.step

ezx@1.11.0.0 · src/tool/plan.bend:1104

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base

1104# a pin the lock lacks, or has at no commit, stops the scan; any other goes
1105# on to the rest
1106def sync.step(bad: Bool, +name: String, rest: Unit -> String) -> String:
1107  match bad:
1108    case True{}:
1109      "ez: tools." ++ name ++ " is not pinned at a commit in ez.lock.toml"
1110    case False{}:
1111      rest(Unit{})

Uses (4)

Used by (1)