Skip to content

Commit 6b2d31a

Browse files
appease linter
1 parent aa6734b commit 6b2d31a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ func deDupeProductName(product []string, vendor string) string {
188188
joinedProducts := strings.Join(product, "/")
189189
if joinedProducts == vendor {
190190
return vendor
191-
} else {
192-
return fmt.Sprintf("%s %s", vendor, joinedProducts)
193191
}
192+
193+
return fmt.Sprintf("%s %s", vendor, joinedProducts)
194194
}
195195

196196
// Defines a new remote exploit and associates with CVE/Product/Protocol metadata. Usage example:.

0 commit comments

Comments
 (0)