ignore .C errors

This commit is contained in:
Mark Bates 2019-11-08 11:07:33 -08:00
parent ac960d47a9
commit 632f108343
1 changed files with 1 additions and 1 deletions

View File

@ -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
}