From 4caea566636af39f263a3c960e9056afa317bb50 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 10 Oct 2026 13:30:09 +0200 Subject: [PATCH] Answer stability round 2: New names every nil module WithDataFS was given --- fejkdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fejkdata.go b/fejkdata.go index a6603a1..53ce259 100644 --- a/fejkdata.go +++ b/fejkdata.go @@ -67,7 +67,7 @@ func WithDataFS(modules ...fs.FS) Option { return func(c *config) { for i, fsys := range modules { if fsys == nil { - c.err = fmt.Errorf("fejkdata: WithDataFS module %d is nil", i+1) + c.err = errors.Join(c.err, fmt.Errorf("fejkdata: WithDataFS module %d is nil", i+1)) continue } c.sources = append(c.sources, datafiles.FS(fsys))