Closed klesh closed 1 year ago
Hey, this breaks golangci-lint-langserver
for repositories where the go.mod
is located in a subpath. Example structure:
project
├── .git
└── go
├── go.mod
└── main.go
We always ran golangci-lint
from project/go
folder. How should this be fixed?
The
goheader
linter requires the working directory to beproject root
in order to locate theheader template
correctly.This PR fixes the problem and adds a mechanism to tolerate Unknown Errors by sending the detail to the client instead of crashing out.
Closes #24