fix(promises): fixed IfRepaired promises chaining
This commit is contained in:
parent
eb9d5f861a
commit
fe8d8027b3
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue