set inline to an empty array, rather than nil

pull/5956/head
Megan Marsh 8 years ago
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…
Cancel
Save