diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands.go b/pkg/commands.go index df42919..5403e5f 100644 --- a/pkg/commands.go +++ b/pkg/commands.go @@ -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 } |