File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2256,7 +2256,7 @@ sections:
2256
2256
# Repeat an expression until it raises "break" as an
2257
2257
# error, then stop repeating without re-raising the error.
2258
2258
# But if the error caught is not "break" then re-raise it.
2259
- try repeat(exp) catch .=="break" then empty else error;
2259
+ try repeat(exp) catch if .=="break" then empty else error
2260
2260
2261
2261
jq has a syntax for named lexical labels to "break" or "go (back) to":
2262
2262
Original file line number Diff line number Diff line change @@ -1920,7 +1920,7 @@ sections:
1920
1920
# Repeat an expression until it raises "break" as an
1921
1921
# error, then stop repeating without re-raising the error.
1922
1922
# But if the error caught is not "break" then re-raise it.
1923
- try repeat(exp) catch .=="break" then empty else error;
1923
+ try repeat(exp) catch if .=="break" then empty else error
1924
1924
1925
1925
jq has a syntax for named lexical labels to "break" or "go (back) to":
1926
1926
Original file line number Diff line number Diff line change @@ -2166,7 +2166,7 @@ sections:
2166
2166
# Repeat an expression until it raises "break" as an
2167
2167
# error, then stop repeating without re-raising the error.
2168
2168
# But if the error caught is not "break" then re-raise it.
2169
- try repeat(exp) catch .=="break" then empty else error;
2169
+ try repeat(exp) catch if .=="break" then empty else error
2170
2170
2171
2171
jq has a syntax for named lexical labels to "break" or "go (back) to":
2172
2172
You can’t perform that action at this time.
0 commit comments