fix(promises): fixed IfRepaired promises chaining
This commit is contained in:
parent
eb9d5f861a
commit
fe8d8027b3
4 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ type CommandPromise struct {
|
|||
}
|
||||
|
||||
func (c *CommandPromise) IfRepaired(p ...Promise) Promise {
|
||||
c.chain = p
|
||||
c.chain = append(c.chain, p...)
|
||||
return c
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue