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

@ -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
}