Skip to content

Commit 2cac709

Browse files
Fix incorrect timing parameter passed to run_scanners
The run_scanners call was passing 'timeout' (a float, default 120.0) as the 'timing' argument instead of the 'timing' boolean flag. This caused per-file scan timings to always be collected regardless of the --timing CLI option. Signed-off-by: codewithfourtix <codewithfourtix@gmail.com>
1 parent d320c97 commit 2cac709

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scancode/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ def echo_func(*_args, **_kwargs):
966966
codebase=codebase,
967967
processes=processes,
968968
timeout=timeout,
969-
timing=timeout,
969+
timing=timing,
970970
quiet=quiet,
971971
verbose=verbose,
972972
kwargs=requested_options,

0 commit comments

Comments
 (0)