Commit f3a568a
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 99875a2 commit f3a568a
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
| |||
0 commit comments