From b5c5aabf684d40b834a8e18a94b161b2b392b71e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 15 Nov 2024 23:51:46 +0100 Subject: [PATCH] fix: fix nil map for build args --- plugin/impl.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/impl.go b/plugin/impl.go index 6f706aa..196e5ca 100644 --- a/plugin/impl.go +++ b/plugin/impl.go @@ -216,6 +216,9 @@ func (p *Plugin) FlagsFromContext() error { } p.Settings.Build.Args = args.Get() + if p.Settings.Build.Args == nil { + p.Settings.Build.Args = make(map[string]string) + } return nil }