diff options
author | Julien Dessaux | 2024-08-28 00:14:30 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-08-28 00:15:36 +0200 |
commit | 14511b320186c8eb4a2905a348fed533bb9a4814 (patch) | |
tree | 4b6a0123d688536eae4a3ccc8085a76088d2b294 /pkg/files.go | |
parent | feat(files): support creating directories (diff) | |
download | gonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.gz gonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.bz2 gonf-14511b320186c8eb4a2905a348fed533bb9a4814.zip |
chore(gonf): change Promise() methods return type to be more specific
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 } |