From f2996a1cb8eca70c97f5cd847c2c409a67083392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 17 Oct 2021 17:27:34 +0200 Subject: Improve comment --- pkg/config/yaml.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/config/yaml.go b/pkg/config/yaml.go index 4716ce5..ad1acf7 100644 --- a/pkg/config/yaml.go +++ b/pkg/config/yaml.go @@ -191,6 +191,7 @@ func buildFeeds(cfg []configGroupFeed, target []string, feeds Feeds, rawTarget := f.target(autoTarget) if isRecognizedUrl(rawTarget) { // deprecated old-style URLs as target + // as the full path is specified, `target` is ignored if fTarget, err = handleUrlTarget(rawTarget, &f.Target, globalTarget); err != nil { return err } @@ -268,6 +269,5 @@ func handleUrlTarget(targetStr string, targetNode *yaml.Node, globalTarget *Url) globalTarget.BaseUrl()) } - return url.RootPath(), // we are given the absolute path, so now appending trickery - nil + return url.RootPath(), nil } -- cgit v1.2.3