From fe8d8027b37e6d679804d2c6893abe4608b8bad4 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 24 Mar 2024 09:50:52 +0100 Subject: fix(promises): fixed IfRepaired promises chaining --- pkg/packages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/packages.go') diff --git a/pkg/packages.go b/pkg/packages.go index 20d3e3d..75346eb 100644 --- a/pkg/packages.go +++ b/pkg/packages.go @@ -39,7 +39,7 @@ type PackagePromise struct { } func (p *PackagePromise) IfRepaired(ps ...Promise) Promise { - p.chain = ps + p.chain = append(p.chain, ps...) return p } -- cgit v1.2.3