diff --git a/here/here.go b/here/here.go index f2b3452..a825f63 100644 --- a/here/here.go +++ b/here/here.go @@ -46,4 +46,4 @@ func ClearCache() { } } -var nonGoDirRx = regexp.MustCompile(`cannot find main|go help modules|go: |build .:|no Go files`) +var nonGoDirRx = regexp.MustCompile(`cannot find main|go help modules|go: |build .:|no Go files|can't load package`) diff --git a/here/here_test.go b/here/here_test.go index 79da34b..1f19112 100644 --- a/here/here_test.go +++ b/here/here_test.go @@ -17,6 +17,7 @@ func Test_nonGoDirRx(t *testing.T) { "go: ", "build .:", "no Go files", + "can't load package: package", } for _, tt := range table {