|
52 | 52 | _executed_path = "" |
53 | 53 | SRC_DIR_FROM_LINK_PREFIX = "fosslight_src_dir_" |
54 | 54 | SCANNER_MODE = [ |
55 | | - "all", "compare", "reuse", "prechecker", "binary", |
| 55 | + "all", "compare", "binary", |
56 | 56 | "bin", "src", "source", "dependency", "dep" |
57 | 57 | ] |
58 | 58 |
|
@@ -183,12 +183,6 @@ def run_scanner(src_path, dep_arguments, output_path, keep_raw_data=False, |
183 | 183 | abs_path = os.path.abspath(src_path) |
184 | 184 |
|
185 | 185 | if success: |
186 | | - if run_prechecker: |
187 | | - success, result = call_analysis_api(src_path, "Prechecker Lint", |
188 | | - -1, prechecker_lint, |
189 | | - abs_path, False, _output_dir, |
190 | | - exclude_path=path_to_exclude) |
191 | | - |
192 | 186 | if run_src: |
193 | 187 | try: |
194 | 188 | if fosslight_source_installed: |
@@ -446,20 +440,15 @@ def run_main(mode_list, path_arg, dep_arguments, output_file_or_dir, file_format |
446 | 440 | run_src = True |
447 | 441 | run_bin = True |
448 | 442 | run_dep = True |
449 | | - run_prechecker = False |
450 | | - if "prechecker" in mode_list or "reuse" in mode_list: |
451 | | - run_prechecker = True |
452 | 443 | else: |
453 | | - if "prechecker" in mode_list or "reuse" in mode_list: |
454 | | - run_prechecker = True |
455 | 444 | if "binary" in mode_list or "bin" in mode_list: |
456 | 445 | run_bin = True |
457 | 446 | if "source" in mode_list or "src" in mode_list: |
458 | 447 | run_src = True |
459 | 448 | if "dependency" in mode_list or "dep" in mode_list: |
460 | 449 | run_dep = True |
461 | 450 |
|
462 | | - if run_dep or run_src or run_bin or run_prechecker: |
| 451 | + if run_dep or run_src or run_bin: |
463 | 452 | if src_path == "" and url_to_analyze == "": |
464 | 453 | src_path, dep_arguments, url_to_analyze = get_input_mode(_executed_path, mode_list) |
465 | 454 |
|
|
0 commit comments