Skip to content

Commit

Permalink
fix: Setup chdir patch earlier
Browse files Browse the repository at this point in the history
Setup monkey patching before any other bench code decides to chdir
  • Loading branch information
gavindsouza committed Jan 24, 2023
1 parent e58a56e commit db165d1
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 @@ -60,6 +60,7 @@ def execute_cmd(check_for_update=True, command: str = None, logger: Logger = Non


def cli():
setup_clear_cache()
global from_command_line, bench_config, is_envvar_warn_set, verbose

from_command_line = True
Expand All @@ -75,7 +76,6 @@ def cli():
change_working_directory()
logger = setup_logging()
logger.info(command)
setup_clear_cache()

bench_config = get_config(".")

Expand Down

0 comments on commit db165d1

Please sign in to comment.