Skip to content

Commit f866c09

Browse files
committed
Exclude cases with only oss_ver in jar analysis
1 parent 4f27a0e commit f866c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_binary/_jar_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def analyze_jar_file(path_to_find_bin, path_to_exclude):
259259
# Get Vulnerability Info.
260260
vulnerability_items = get_vulnerability_info(file_with_path, vulnerability, vulnerability_items, remove_vulnerability_items)
261261

262-
if oss_name != "" or oss_ver != "" or oss_license != "" or oss_dl_url != "":
262+
if oss_name or oss_license or oss_dl_url:
263263
oss_list_for_file = owasp_items.get(file_with_path, [])
264264

265265
existing_oss = None

0 commit comments

Comments
 (0)