mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-27 10:14:01 -04:00
set inline to an empty array, rather than nil
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user