Added verbose logging to building / testing a no-vendor app

Removed section which raises an error when examining packages, we dont need to check for errors on foreign packages since we are importing only a slice of the data
This commit is contained in:
notzippy@gmail.com
2020-05-17 05:58:28 -07:00
parent 4bab4409b9
commit 4987ee8319
2 changed files with 3 additions and 5 deletions

View File

@@ -119,9 +119,7 @@ func (s *SourceProcessor) addImportMap() (err error) {
if len(p.Errors) > 0 {
// Generate a compile error
for _, e := range p.Errors {
if !strings.Contains(e.Msg, "fsnotify") {
err = utils.NewCompileError("", "", e)
}
s.log.Info("While reading packages encountered import error ignoring ", "PkgPath", p.PkgPath, "error", e)
}
}
for _, tree := range p.Syntax {