summaryrefslogtreecommitdiff
path: root/internal/rtree/init.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2025-09-29 21:48:35 +0200
committerStefan Majewsky <majewsky@gmx.net>2025-09-29 21:48:35 +0200
commitfa24620c50a56ae6c3c31575e861098d0f0ed177 (patch)
treee6963f607605577ca06dfeff666e5a186bb2b15f /internal/rtree/init.go
parent24762f09de2aa8cada3f3c63afa313e06ebf47c8 (diff)
downloadgofu-fa24620c50a56ae6c3c31575e861098d0f0ed177.tar.gz
run `modernize -fix ./...`
Also drop util/gocovcat.go which has been obsolete since 122068efd4a348921b736b4456d4e1c999dbfb79.
Diffstat (limited to 'internal/rtree/init.go')
-rw-r--r--internal/rtree/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rtree/init.go b/internal/rtree/init.go
index 7121af9..13947a8 100644
--- a/internal/rtree/init.go
+++ b/internal/rtree/init.go
@@ -83,7 +83,7 @@ func Init() bool {
}
rx := regexp.MustCompile(`^url\.([^=]+)\.insteadof=(.+)$`)
- for _, line := range strings.Split(out, "\n") {
+ for line := range strings.SplitSeq(out, "\n") {
match := rx.FindStringSubmatch(line)
if match == nil {
continue