Skip to content

Commit

Permalink
use analyzer.TypeGoMod for gomod analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Sep 22, 2023
1 parent 1954bd2 commit e1170d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fanal/analyzer/language/golang/mod/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

func init() {
analyzer.RegisterPostAnalyzer(types.GoMod, newGoModAnalyzer)
analyzer.RegisterPostAnalyzer(analyzer.TypeGoMod, newGoModAnalyzer)
}

const version = 2
Expand Down

0 comments on commit e1170d7

Please sign in to comment.