Skip to content

Commit 870d90b

Browse files
authored
Merge pull request #100 from fosslight/develop
Remove to create bin.txt
2 parents a653297 + f8666f3 commit 870d90b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/fosslight_scanner/fosslight_scanner.py

-7
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def run_scanner(src_path, dep_arguments, output_path, keep_raw_data=False,
129129
if success:
130130
output_files = {"SRC": f"fosslight_src_{_start_time}{output_extension}",
131131
"BIN": f"fosslight_bin_{_start_time}{output_extension}",
132-
"BIN_TXT": f"fosslight_binary_bin_{_start_time}.txt",
133132
"DEP": f"fosslight_dep_{_start_time}{output_extension}",
134133
"PRECHECKER": f"fosslight_lint_{_start_time}.yaml"}
135134
if run_prechecker:
@@ -173,12 +172,6 @@ def run_scanner(src_path, dep_arguments, output_path, keep_raw_data=False,
173172
"", db_url, False,
174173
correct_mode, correct_fpath,
175174
path_to_exclude=path_to_exclude)
176-
if success:
177-
output_binary_txt_raw = f"{output_files['BIN'].split('.')[0]}.txt"
178-
success_file, copied_file = copy_file(os.path.join(_output_dir, output_binary_txt_raw),
179-
os.path.join(output_path, output_files["BIN_TXT"]))
180-
if success_file:
181-
temp_output_fiiles.append(copied_file)
182175

183176
if run_dep:
184177
run_dependency(src_path, os.path.join(_output_dir, output_files["DEP"]), dep_arguments, path_to_exclude)

0 commit comments

Comments
 (0)