Skip to content

Commit ef56d17

Browse files
committed
Fix a bug related assignment
1 parent 181486e commit ef56d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_source/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def run_scanners(path_to_scan, output_file_name="", write_json_file=False, num_c
243243
scancode_result = []
244244
scanoss_result = []
245245
merged_result = []
246+
license_list = []
246247
spdx_downloads = {}
247248
result_log = {}
248249

@@ -272,7 +273,6 @@ def run_scanners(path_to_scan, output_file_name="", write_json_file=False, num_c
272273
success = False
273274
else:
274275
result_log[RESULT_KEY] = f"Format error. {msg}"
275-
logger.error(f"Format error. {msg}")
276276
success = False
277277

278278
return success, result_log.get(RESULT_KEY, ""), merged_result, license_list, scanoss_result

0 commit comments

Comments
 (0)