mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
remove prealloc nolint rule in catalogers
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -53,7 +53,6 @@ var postProcessors = map[string]postProcessor{
|
||||
}
|
||||
|
||||
func processList(s string) []string {
|
||||
// nolint:prealloc
|
||||
var results []string
|
||||
for _, item := range strings.Split(s, ",") {
|
||||
results = append(results, strings.Trim(item, "\" "))
|
||||
|
||||
Reference in New Issue
Block a user