From 3b4c06d28d620c92246d2690db5d76102065096f Mon Sep 17 00:00:00 2001 From: Stefan Felkel Date: Thu, 30 Nov 2017 06:31:50 +0100 Subject: [PATCH] gofmt --- deb/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deb/import.go b/deb/import.go index 9da21a26..abc9f8dd 100644 --- a/deb/import.go +++ b/deb/import.go @@ -32,7 +32,7 @@ func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (pac if strings.HasSuffix(info.Name(), ".deb") || strings.HasSuffix(info.Name(), ".udeb") || strings.HasSuffix(info.Name(), ".dsc") || strings.HasSuffix(info.Name(), ".ddeb") { packageFiles = append(packageFiles, path) - } else if (strings.HasSuffix(info.Name(), ".buildinfo")) { + } else if strings.HasSuffix(info.Name(), ".buildinfo") { otherFiles = append(otherFiles, path) } @@ -48,7 +48,7 @@ func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (pac if strings.HasSuffix(info.Name(), ".deb") || strings.HasSuffix(info.Name(), ".udeb") || strings.HasSuffix(info.Name(), ".dsc") || strings.HasSuffix(info.Name(), ".ddeb") { packageFiles = append(packageFiles, location) - } else if (strings.HasSuffix(info.Name(), ".buildinfo")) { + } else if strings.HasSuffix(info.Name(), ".buildinfo") { otherFiles = append(otherFiles, location) } else { reporter.Warning("Unknown file extension: %s", location)