Skip to content

Commit

Permalink
fix: update check condition
Browse files Browse the repository at this point in the history
Right now updates are checked for src and --version command, it used to
be opposite of this.

ref: frappe@7c653db
  • Loading branch information
ankush committed Aug 10, 2022
1 parent b6b9481 commit 3e749ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def cli():
bench_command()

if cmd_from_sys in bench_command.commands:
with execute_cmd(check_for_update=not is_cli_command, command=command, logger=logger):
with execute_cmd(check_for_update=is_cli_command, command=command, logger=logger):
bench_command()

if in_bench:
Expand Down

0 comments on commit 3e749ba

Please sign in to comment.