mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-02 23:34:48 +08:00
Fixed union infinite loop #930
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ func NodesToString(collection *list.List) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
result := ""
|
||||
result := fmt.Sprintf("%v results\n", collection.Len())
|
||||
for el := collection.Front(); el != nil; el = el.Next() {
|
||||
result = result + "\n" + NodeToString(el.Value.(*CandidateNode))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user