mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-04 02:21:33 +02:00
Merge pull request #447 from priyawadhwa/maintainer
Check if command is nil before optimizing
This commit is contained in:
@@ -155,6 +155,9 @@ func (s *stageBuilder) build() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if command == nil {
|
||||
continue
|
||||
}
|
||||
cmds = append(cmds, command)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user