Skip to content

Commit

Permalink
_cli: create results dir if it doesn't exist
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Dec 19, 2023
1 parent c7723b5 commit 459037e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions limbo/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ def _compile(args: argparse.Namespace) -> None:


def _harness(args: argparse.Namespace) -> None:
args.output.parent.mkdir(exist_ok=True)

limbo_json = args.limbo.read_text()
if args.include is not None or args.exclude is not None:
testcases = Limbo.parse_raw(limbo_json).testcases
Expand Down

0 comments on commit 459037e

Please sign in to comment.