Merge pull request #447 from priyawadhwa/maintainer

Check if command is nil before optimizing
This commit is contained in:
priyawadhwa
2018-11-13 10:36:17 -08:00
committed by GitHub
+3
View File
@@ -155,6 +155,9 @@ func (s *stageBuilder) build() error {
if err != nil {
return err
}
if command == nil {
continue
}
cmds = append(cmds, command)
}