2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-08 00:04:38 +00:00

fix: update check condition

Right now updates are checked for src and --version command, it used to
be opposite of this.

ref: 7c653db703
This commit is contained in:
Ankush Menat 2022-08-10 13:53:06 +05:30
parent b6b9481b7b
commit 3e749ba547

View File

@ -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: