Skip to content

Commit

Permalink
jq: Remove stray _debug call in nth implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
dubek authored and kanaka committed Aug 26, 2024
1 parent f7ab284 commit 1354b3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion impls/jq/core.jq
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ def core_interp(arguments; env):
select(.function == "vec") | {kind:"vector", value:arguments[0].value}
) // (
select(.function == "nth")
| _debug(arguments)
| arguments[0].value as $lst
| arguments[1].value as $idx
| if ($lst|length < $idx) or ($idx < 0) then
Expand Down

0 comments on commit 1354b3f

Please sign in to comment.