summaryrefslogtreecommitdiff
path: root/pkg/packages.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/packages.go')
-rw-r--r--pkg/packages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/packages.go b/pkg/packages.go
index 87db647..7ed8584 100644
--- a/pkg/packages.go
+++ b/pkg/packages.go
@@ -35,7 +35,7 @@ func (p *PackagePromise) IfRepaired(ps ...Promise) Promise {
return p
}
-func (p *PackagePromise) Promise() Promise {
+func (p *PackagePromise) Promise() *PackagePromise {
packages = append(packages, p)
return p
}