From a89e3ace009608494603910b4741ec8a66aadf22 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 28 Jan 2018 11:46:16 -0200 Subject: [PATCH] chore: added todo --- internal/builders/golang/targets.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/builders/golang/targets.go b/internal/builders/golang/targets.go index 56dddfdab..e30a017c0 100644 --- a/internal/builders/golang/targets.go +++ b/internal/builders/golang/targets.go @@ -54,6 +54,8 @@ func allBuildTargets(build config.Build) (targets []target) { return } +// TODO: this could be improved by using a map +// https://github.com/goreleaser/goreleaser/pull/522#discussion_r164245014 func ignored(build config.Build, target target) bool { for _, ig := range build.Ignore { if ig.Goos != "" && ig.Goos != target.os {