remove prealloc nolint rule in catalogers

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2021-03-23 12:56:00 -04:00
parent d420368ba9
commit 929b78efbf
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -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, "\" "))