From 40f2cdc7d7897e8564e6c9395d52d956ea073285 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 21 Jan 2018 14:25:39 +0100 Subject: [PATCH] Fix: Reduce number of errors caused by empty transform set Signed-off-by: Knut Ahlers --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 2c201a9..7ba8438 100644 --- a/main.go +++ b/main.go @@ -112,6 +112,10 @@ func main() { envData := map[string]string{} for _, setName := range cfg.TransformSet { + if setName == "" { + continue + } + if set, ok := transformSets[setName]; ok { cfg.Transform = append(cfg.Transform, set...) } else {