mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user