diff --git a/cve_bin_tool/version_scanner.py b/cve_bin_tool/version_scanner.py index 2fddfc646e..38840a179f 100644 --- a/cve_bin_tool/version_scanner.py +++ b/cve_bin_tool/version_scanner.py @@ -315,7 +315,6 @@ def scan_and_or_extract_file( def recursive_scan(self, scan_path: str) -> Iterator[ScanInfo]: """Recursively scan files and directories, extracting information, and yielding the results using a generator.""" - with Extractor(logger=self.logger, error_mode=self.error_mode) as ectx: if Path(scan_path).is_dir(): for filepath in self.walker([scan_path]):