Commit adb2804
committed
Echo a maktaba-formatted error if clang-format output is unparseable.
This is needed in order to effectively unit-test against the situation
in which clang-format produces no output. In this case, there is a JSON
parsing error (since there isn't any JSON to parse). By using a
formatted error here, vroom is able to bail out when the error is not
handled properly.
Signed-off-by: Wolfgang E. Sanyer <WolfgangSanyer@Google.com>1 parent 605dc00 commit adb2804
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments