Skip to content

Commit e9a4f79

Browse files
committed
Do not print comment if there is no information from OWASP
1 parent a0fe9a7 commit e9a4f79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/fosslight_binary/_jar_analysis.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ def ananlyze_jar_file(path_to_find_bin):
133133
if oss_ver == "" and (product_info['name'] == 'Implementation-Version' or product_info['name'] == 'Bundle-Version'):
134134
oss_ver = product_info['value']
135135

136-
137136
if oss_name != "" or oss_ver != "" or oss_license != "" or oss_dl_url != "":
138137
oss = OssItem(oss_name, oss_ver, oss_license, oss_dl_url)
139138
oss.set_comment("OWASP Result. ")

0 commit comments

Comments
 (0)