diff options
Diffstat (limited to 'pkg/custom.go')
-rw-r--r-- | pkg/custom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/custom.go b/pkg/custom.go index 9b4ca3d..bc1a531 100644 --- a/pkg/custom.go +++ b/pkg/custom.go @@ -21,7 +21,7 @@ func (c *CustomPromise) IfRepaired(p ...Promise) Promise { return c } -func (c *CustomPromise) Promise() Promise { +func (c *CustomPromise) Promise() *CustomPromise { customPromises = append(customPromises, c) return c } |