Skip to content

Commit 1574ad5

Browse files
committed
fix: typo
1 parent 62486a7 commit 1574ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (h *langHandler) lint(uri DocumentURI) ([]Diagnostic, error) {
5858
args = append(args, dir)
5959
//nolint:gosec
6060
cmd := exec.Command(h.command[0], args...)
61-
if strings.HasPrefix(path, h.rootURI) {
61+
if strings.HasPrefix(path, h.rootDir) {
6262
cmd.Dir = h.rootDir
6363
file = path[len(h.rootDir)+1:]
6464
} else {

0 commit comments

Comments
 (0)