Fixing the error type returned when using -dot

The error stack was empty, but the err value itself was not nil.
  This was causing -dot to return an error message, even when there was no
  actual error.
This commit is contained in:
Florian Maury 2018-04-07 12:39:23 +02:00
parent 3d855e8b1e
commit c5bf3e018b

View file

@ -147,7 +147,7 @@ func spoolDependencyRequest(wc <-chan *dep_msg.Request, ansChan chan<- *WorkerRe
ansChan <- &WorkerResult{
req.Name(), g.String(), nil, nil,
nil, nil, nil, nil,
err,
nil,
}
} else {
go performBackgroundAnalysis(req.Name(), relNode, ansChan, analysisDoneChan, reqConf, tree)