summaryrefslogtreecommitdiff
path: root/pkg/files.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/files.go')
-rw-r--r--pkg/files.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/files.go b/pkg/files.go
index 366bacc..eb3fa38 100644
--- a/pkg/files.go
+++ b/pkg/files.go
@@ -64,7 +64,7 @@ func (f *FilePromise) Template(contents any) *FilePromise {
// We want to satisfy the Promise interface
func (f *FilePromise) IfRepaired(p ...Promise) Promise {
- f.chain = p
+ f.chain = append(f.chain, p...)
return f
}