Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Nov 3, 2022
1 parent 994e59c commit 6f5bd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/urlpath/urlpath.go
Expand Up @@ -112,7 +112,7 @@ func convertFileURLPath(host, path string) (string, error) {
}

func convertFileURLPathWindows(host, path string) (string, error) {
if len(path) == 0 || path[0] != '/' {
if path == "" || path[0] != '/' {
return "", errNotAbsolute
}

Expand Down

0 comments on commit 6f5bd92

Please sign in to comment.