Skip to content

Commit 4d66324

Browse files
adonovangopherbot
authored andcommitted
gopls/internal/lsp/cache: tweak error message
Change-Id: I0dacb32e76b0e657d1e0893f71da8f1ce38b7d50 Reviewed-on: https://go-review.googlesource.com/c/tools/+/496441 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Alan Donovan <[email protected]> Reviewed-by: Robert Findley <[email protected]> gopls-CI: kokoro <[email protected]> Auto-Submit: Alan Donovan <[email protected]>
1 parent e46df40 commit 4d66324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/internal/lsp/cache/snapshot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ searchOverlays:
18331833
fix = `To work with multiple modules simultaneously, please upgrade to Go 1.18 or
18341834
later, reinstall gopls, and use a go.work file.`
18351835
}
1836-
msg = fmt.Sprintf(`This file is in directory %q, which is not included in your workspace.
1836+
msg = fmt.Sprintf(`This file is within module %q, which is not included in your workspace.
18371837
%s
18381838
See the documentation for more information on setting up your workspace:
18391839
https://github.com/golang/tools/blob/master/gopls/doc/workspace.md.`, modDir, fix)

0 commit comments

Comments
 (0)