about summary refs log tree commit diff
path: root/nix/yants/tests
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-08T21·50+0200
committersterni <sternenseemann@systemli.org>2021-09-09T12·52+0000
commit5f9c85a1b53dc025398e00263f87bf87a16950d3 (patch)
tree3ce971e860398e08cdaaab5c20ab0fcbcbcd6ce7 /nix/yants/tests
parentfab7dd62f48ba0ee312ccd92b54446cd9bfa8e94 (diff)
refactor(nix/readTree): use throw instead of assertMsg r/2829
This gives a slightly prettier error message and won't leak the error
message when builtins.tryEval is used. Currently an error message from
the tests is always part of the pipeline evaluation log.

Change-Id: I9b488a440368091ed42d707ba4124f592a64bd86
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3502
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'nix/yants/tests')
0 files changed, 0 insertions, 0 deletions