Skip to content

Commit

Permalink
chore: slice loop replace (#627)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
  • Loading branch information
testwill committed Sep 4, 2023
1 parent b6498ef commit c24825b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ func ListFilters() ([]string, []string, []string) {
fmt.Println(color.RedString(err.Error()))
os.Exit(1)
}
for _, analyzers := range in.GetAnalyzerName() {

integrationAnalyzers = append(integrationAnalyzers, analyzers)
}
integrationAnalyzers = append(integrationAnalyzers, in.GetAnalyzerName()...)
}
}

Expand Down

0 comments on commit c24825b

Please sign in to comment.