Skip to content

Commit

Permalink
fix(go): set correct go modules type (#1990)
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk authored Apr 14, 2022
1 parent 6fdb554 commit 485637c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/detector/library/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewDriver(libType string) (Driver, error) {
case ftypes.Composer:
ecosystem = vulnerability.Composer
comparer = compare.GenericComparer{}
case ftypes.GoBinary, ftypes.GoMod:
case ftypes.GoBinary, ftypes.GoModule:
ecosystem = vulnerability.Go
comparer = compare.GenericComparer{}
case ftypes.Jar, ftypes.Pom:
Expand Down

0 comments on commit 485637c

Please sign in to comment.