mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-19 16:46:34 +00:00
Review caught a consequence of the previous commit. Standing the order check aside so a missing value could be reported meant the value was reported later -- after the exports before it had already been written. `run --export first.png --scale --export second.png` wrote first.png and only then failed, so an invocation that fails could overwrite a file that was already there. `values_present` checks every option that takes a value before the order check and before any export, so the line is refused as a whole. The test writes a file at the export path first and asserts its bytes are unchanged.