def stop
import bolt@1.27.0.0/src/status.bend as Statusimport Base
8# exit 1 when the run found errors, else fall through (exit 0)
9def stop(bad: Bool) -> IO(Unit): # noqa: L001 IO: exit status
10 match bad:
11 case True{}:
12 IO.die(Unit, 1, "")
13 case False{}:
14 IO.pure(Unit, Unit{})