compiler: Avoid generation of delta if there are only prelude steps (#232)

This commit is contained in:
Daniele Rondina
2021-07-09 12:23:32 +02:00
committed by GitHub
parent 654b5b48cd
commit b6b91cfd7a

View File

@@ -242,7 +242,7 @@ func (cs *LuetCompilationSpec) SetSeedImage(s string) {
}
func (cs *LuetCompilationSpec) EmptyPackage() bool {
return len(cs.BuildSteps()) == 0 && len(cs.GetPreBuildSteps()) == 0 && !cs.UnpackedPackage()
return len(cs.BuildSteps()) == 0 && !cs.UnpackedPackage()
}
func (cs *LuetCompilationSpec) UnpackedPackage() bool {