diff options
Diffstat (limited to 'pkg/files.go')
-rw-r--r-- | pkg/files.go | 2 |
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 } |