fix(forge): replace strings.SplitSeq for broader compatibility

This commit is contained in:
Castor Regex 2025-08-31 18:06:56 -05:00 committed by Jeff Carr
parent 6d249abb44
commit c7a12cbdd3
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}