mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-05 00:54:51 +08:00
The sequence branch only checked the upper bound (len > index), so has(-1) returned true even on an empty array. Guard index >= 0. Co-authored-by: max <max@example.com>