Browse Source

Update

pull/103/head
Unknown 11 years ago
parent
commit
91d5d3d067
  1. 6
      doc/walker.go

6
doc/walker.go

@ -117,12 +117,8 @@ func (w *walker) build(srcs []*source, nod *Node) ([]string, error) {
if err != nil {
if nogo {
err = nil
} else if strings.Contains(err.Error(), "expected 'package'") {
log.Warn("walker: %s", err.Error())
return nil, nil
} else {
log.Error("walker", "Error occurs when check imports:")
log.Error("", "\t"+err.Error())
log.Warn("walker: %s", err.Error())
return nil, nil
}
}

Loading…
Cancel
Save