fix(promises): fixed IfRepaired promises chaining

This commit is contained in:
Julien Dessaux 2024-03-24 09:50:52 +01:00
parent eb9d5f861a
commit fe8d8027b3
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ type PackagePromise struct {
}
func (p *PackagePromise) IfRepaired(ps ...Promise) Promise {
p.chain = ps
p.chain = append(p.chain, ps...)
return p
}