Skip to content

Commit

Permalink
cli: only check pattern if not reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jun 26, 2023
1 parent 74e085c commit 91ee6a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emmet-cli/emmet/cli/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def backup(ctx, reorg, clean, check, force_new): # noqa: C901
logger.error("Not running --clean without --check enabled.")
return ReturnCodes.ERROR

check_pattern()
if not reorg:
check_pattern()

logger.info("Discover launch directories ...")
block_launchers = load_block_launchers()
Expand Down

0 comments on commit 91ee6a4

Please sign in to comment.