mirror of
https://github.com/mikefarah/yq.git
synced 2026-08-31 04:54:44 +08:00
The int/int comparator returned int(lhs - rhs); the int64 subtraction overflows for large-magnitude values, giving the wrong sign. Compare directly instead. Co-authored-by: max <max@example.com>