summaryrefslogtreecommitdiff
path: root/applyPatch.go
diff options
context:
space:
mode:
authorCastor Regex <[email protected]>2025-08-31 18:06:56 -0500
committerJeff Carr <[email protected]>2025-08-31 18:06:56 -0500
commitc7a12cbdd3a17196fabedfa6b6d7ab70e1a51439 (patch)
tree84400c22f0c21d3bbb95db29817267067e3dade5 /applyPatch.go
parent6d249abb44414cea57f496e24a682466a7772f87 (diff)
fix(forge): replace strings.SplitSeq for broader compatibility
Diffstat (limited to 'applyPatch.go')
-rw-r--r--applyPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/applyPatch.go b/applyPatch.go
index 2124acc..f142733 100644
--- a/applyPatch.go
+++ b/applyPatch.go
@@ -116,7 +116,7 @@ func doRegister(newurl string) error {
}
test := strings.TrimSpace(string(body))
- for line := range strings.SplitSeq(test, "\n") {
+ for _, line := range strings.Split(test, "\n") {
line = strings.TrimSpace(line)
log.Info("server returned:", line)
}