chore: update linter
update golangci-lint to v1.53.3
This commit is contained in:
committed by
GitHub
parent
c10e468d01
commit
8a6061cc86
@@ -98,7 +98,7 @@ func wantedFromComment(p string) (res string, goPath string, err bool) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
goPath = filepath.Join(wd, "../_test", strings.TrimPrefix(parts[0], "GOPATH:"))
|
||||
goPath = filepath.Join(wd, "..", "_test", strings.TrimPrefix(parts[0], "GOPATH:"))
|
||||
}
|
||||
if strings.HasPrefix(text, "Output:\n") {
|
||||
return strings.TrimPrefix(text, "Output:\n"), goPath, false
|
||||
|
||||
Reference in New Issue
Block a user