set inline to an empty array, rather than nil
This commit is contained in:
parent
926327beba
commit
c7c66bedcb
|
@ -86,7 +86,7 @@ func Validate(config *Config) error {
|
|||
|
||||
// Clean up input
|
||||
if config.Inline != nil && len(config.Inline) == 0 {
|
||||
config.Inline = nil
|
||||
config.Inline = make([]string, 0)
|
||||
}
|
||||
|
||||
if config.Scripts == nil {
|
||||
|
|
Loading…
Reference in New Issue