Commit c2b7473
authored
Check whether json2ts exited without any errors before processing the generated ts file (phillipdupuis#14)
* When a generated ts file already exists but json2ts fails to write a new file due to whatever reason 'remove_master_model_from_output' is still called, this results in a confusing error message. Instead check exit code of json2ts and output it to log.1 parent 65f8aae commit c2b7473
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
218 | 224 | | |
219 | 225 | | |
220 | 226 | | |
| |||
0 commit comments