From c5bf3e018b2c217341c7fed1a787770569f07b13 Mon Sep 17 00:00:00 2001 From: Florian Maury Date: Sat, 7 Apr 2018 12:39:23 +0200 Subject: [PATCH] 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. --- transdep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transdep.go b/transdep.go index 1d05ebd..793a1ee 100644 --- a/transdep.go +++ b/transdep.go @@ -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)