Skip to content

Commit

Permalink
fix: fix nil map for build args
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Nov 15, 2024
1 parent d34d093 commit b5c5aab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b5c5aab

Please sign in to comment.