Merge pull request #447 from priyawadhwa/maintainer
Check if command is nil before optimizing
This commit is contained in:
commit
f99e5f5c6d
|
|
@ -155,6 +155,9 @@ func (s *stageBuilder) build() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if command == nil {
|
||||
continue
|
||||
}
|
||||
cmds = append(cmds, command)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue