From 551b969916940a9bbc8692178057b2dc594e1b9b Mon Sep 17 00:00:00 2001 From: skuzzymiglet Date: Wed, 20 Jan 2021 14:57:41 +0000 Subject: [PATCH] fix spacing --- urls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urls.go b/urls.go index 0f5c96c..1c2f406 100644 --- a/urls.go +++ b/urls.go @@ -39,7 +39,7 @@ func matchURLSpec(spec string, urls []string) ([]string, error) { switch { case strings.HasPrefix(spec, "~"): if len(urls) == 0 { - return []string{}, fmt.Errorf("fuzzy URL'%s' provided but no URLs to match against", spec) + return []string{}, fmt.Errorf("fuzzy URL '%s' provided but no URLs to match against", spec) } return fuzzy.Find(strings.TrimPrefix(spec, "~"), urls), nil case strings.HasPrefix(spec, "/"): @@ -59,7 +59,7 @@ func matchURLSpec(spec string, urls []string) ([]string, error) { return matches, nil case strings.HasPrefix(spec, "?"): if len(urls) == 0 { - return []string{}, fmt.Errorf("URL glob'%s' provided but no URLs to match against", spec) + return []string{}, fmt.Errorf("URL glob '%s' provided but no URLs to match against", spec) } g, err := glob.Compile(strings.TrimPrefix(spec, "?")) if err != nil { -- 2.34.2