From db165d1f9b0b10ca39f39d407737bd4f515d7d83 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Tue, 24 Jan 2023 15:21:24 +0530 Subject: [PATCH] fix: Setup chdir patch earlier Setup monkey patching before any other bench code decides to chdir --- bench/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/cli.py b/bench/cli.py index 140ea662..7f262407 100755 --- a/bench/cli.py +++ b/bench/cli.py @@ -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 @@ -75,7 +76,6 @@ def cli(): change_working_directory() logger = setup_logging() logger.info(command) - setup_clear_cache() bench_config = get_config(".")