forked from TrueCloudLab/rclone
Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
parent
027746ef6e
commit
fdd2f8e6d2
65 changed files with 159 additions and 159 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
func URLJoin(base *url.URL, path string) (*url.URL, error) {
|
||||
rel, err := url.Parse(path)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Error parsing %q as URL: %w", path, err)
|
||||
return nil, fmt.Errorf("error parsing %q as URL: %w", path, err)
|
||||
}
|
||||
return base.ResolveReference(rel), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue