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