summaryrefslogtreecommitdiff
path: root/pkg/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands.go')
-rw-r--r--pkg/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands.go b/pkg/commands.go
index 096da11..4222de7 100644
--- a/pkg/commands.go
+++ b/pkg/commands.go
@@ -43,7 +43,7 @@ func (c *CommandPromise) IfRepaired(p ...Promise) Promise {
return c
}
-func (c *CommandPromise) Promise() Promise {
+func (c *CommandPromise) Promise() *CommandPromise {
commands = append(commands, c)
return c
}