From 8104d527c746a70863dbfdc90727f6f8996dfe8b Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Fri, 30 May 2025 21:10:53 -0400 Subject: [PATCH] internal/debug: go 1.23.8 compat; use strings.Split not strings.SplitSeq Currently build fails as go.mod uses go 1.23.8 which doesn't have strings.SplitSeq. Note: strings.SplitSeq was introduced in go 1.24. Signed-off-by: Miles Alan --- internal/debug/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/debug/debug.go b/internal/debug/debug.go index 95cbde75..f6939332 100644 --- a/internal/debug/debug.go +++ b/internal/debug/debug.go @@ -34,7 +34,7 @@ func Parse() { } print := false silent := false - for part := range strings.SplitSeq(val, ",") { + for _, part := range strings.Split(val, ",") { switch part { case textSubsystem: Text.Store(true)