Repository navigation
Commit 554eaa3
Fix dry-run with summary format to produce no output
The logic for handling --dry-run with --format=summary was incorrect. It was outputting the message and table, but the tests expect empty output. Fixed the condition to:
- json/csv formats: output formatted data only
- table or no format: output message and table
- summary format: no output (as per test expectations)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>1 parent 715eb3e commit 554eaa3
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments