We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a2eec commit 846c9ffCopy full SHA for 846c9ff
analyzer.go
@@ -96,7 +96,11 @@ func (gas *Analyzer) LoadRules(ruleDefinitions ...RuleBuilder) {
96
97
// Process kicks off the analysis process for a given package
98
func (gas *Analyzer) Process(packagePaths ...string) error {
99
- packageConfig := loader.Config{Build: &build.Default, ParserMode: parser.ParseComments}
+ packageConfig := loader.Config{
100
+ Build: &build.Default,
101
+ ParserMode: parser.ParseComments,
102
+ AllowErrors: true,
103
+ }
104
for _, packagePath := range packagePaths {
105
abspath, _ := filepath.Abs(packagePath)
106
gas.logger.Println("Searching directory:", abspath)
0 commit comments