Commit 08a2c07
committed
Fall back to JSON format when resolveFormat fails in jq error bypass
When --jq conflicts with another format flag (e.g. --styled), resolveFormat()
returns an error. Fall back to FormatJSON (or FormatQuiet with --agent/--quiet)
instead of defaulting to FormatAuto.1 parent d31c29b commit 08a2c07
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| |||
0 commit comments