diff --git a/pkg/config/flag/types.go b/pkg/config/flag/types.go index b346df3..2374548 100644 --- a/pkg/config/flag/types.go +++ b/pkg/config/flag/types.go @@ -17,6 +17,9 @@ func newArrayFlags(items *[]string) *arrayFlags { // Values return the values of a flag array func (i *arrayFlags) Values() []string { + if i.items == nil { + return []string{} + } return *i.items }