forked from mirror/pkger
ignore .C errors
This commit is contained in:
parent
ac960d47a9
commit
632f108343
|
@ -35,7 +35,7 @@ func Dir(p string) (Info, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
||||||
es := err.Error()
|
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
|
return i, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue