From 7c2dfd276070c145a86479aeb35c11b8d6f09213 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 28 May 2020 16:26:01 -0700 Subject: [PATCH] appease linter --- cmd/generate-fixer-deprecations/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/generate-fixer-deprecations/main.go b/cmd/generate-fixer-deprecations/main.go index d5fc2fe09..5804ef390 100644 --- a/cmd/generate-fixer-deprecations/main.go +++ b/cmd/generate-fixer-deprecations/main.go @@ -52,9 +52,7 @@ func main() { } deprecated := fixer.DeprecatedOptions() - for _, dep := range deprecated { - allDeprecatedOpts = append(allDeprecatedOpts, dep) - } + allDeprecatedOpts = append(allDeprecatedOpts, deprecated...) } deprecated_path := filepath.Join(packerDir, "helper", "config",