Fixed linting

This commit is contained in:
Mike Farah
2020-11-13 14:07:11 +11:00
parent f8a700e400
commit af39fc737d
18 changed files with 135 additions and 101 deletions
+6 -2
View File
@@ -83,10 +83,14 @@ func collect(d *dataTreeNavigator, aggregate *list.List, remainingMatches *list.
aggCandidate := el.Value.(*CandidateNode)
for splatEl := splatted.Front(); splatEl != nil; splatEl = splatEl.Next() {
splatCandidate := splatEl.Value.(*CandidateNode)
newCandidate := aggCandidate.Copy()
newCandidate, err := aggCandidate.Copy()
if err != nil {
return nil, err
}
newCandidate.Path = nil
newCandidate, err := multiply(d, newCandidate, splatCandidate)
newCandidate, err = multiply(d, newCandidate, splatCandidate)
if err != nil {
return nil, err
}