1
0

fix: set default value

This commit is contained in:
dump_stack() 2024-02-21 17:57:44 +00:00
parent cc5e70373f
commit b1be394d6b
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -242,6 +242,7 @@ func (c Container) Build(image string, envs, runs []string) (err error) {
if err != nil { if err != nil {
return return
} }
buf = []byte(cf)
} }
if string(buf) == cf && c.Exist() && UseCache { if string(buf) == cf && c.Exist() && UseCache {