Skip to content

Commit 87f44a2

Browse files
committed
fix parsing
1 parent bf6313f commit 87f44a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

codeflash/tracer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -875,16 +875,16 @@ def main(args: Namespace | None = None) -> ArgumentParser:
875875
}
876876
try:
877877
tracer = Tracer(
878-
output=args.outfile,
879-
functions=args.only_functions,
880-
max_function_count=args.max_function_count,
881-
timeout=args.tracer_timeout,
882-
config_file_path=args.codeflash_config,
878+
output=parsed_args.outfile,
879+
functions=parsed_args.only_functions,
880+
max_function_count=parsed_args.max_function_count,
881+
timeout=parsed_args.tracer_timeout,
882+
config_file_path=parsed_args.codeflash_config,
883883
command=" ".join(sys.argv),
884884
)
885885
tracer.runctx(code, globs, None)
886886
replay_test_path = tracer.replay_test_file_path
887-
if not args.trace_only and replay_test_path is not None:
887+
if not parsed_args.trace_only and replay_test_path is not None:
888888
del tracer
889889

890890
from codeflash.cli_cmds.cli import parse_args, process_pyproject_config

0 commit comments

Comments
 (0)