From 632f1083431070d8a7995dad788fc873a9c1b84f Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Fri, 8 Nov 2019 11:07:33 -0800 Subject: [PATCH] ignore .C errors --- here/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/here/dir.go b/here/dir.go index cbe7774..8d5fe47 100644 --- a/here/dir.go +++ b/here/dir.go @@ -35,7 +35,7 @@ func Dir(p string) (Info, error) { if err != nil { es := err.Error() - if !(strings.Contains(es, "cannot find module for path .") || strings.Contains(es, "no Go files")) { + if !(strings.Contains(es, "cannot find module for path .") || strings.Contains(es, "no Go files") || strings.Contains(es, "can't load package")) { return i, err }