Open gene-pavlovsky opened 5 years ago
The current solution reports one line for every file (I removed stacktraces). Formatter doesn't track or cache hxformat.json
files and will run a new detection and load for every single file.
I guess technically the error message hasn't changed much with my fix, so feel free to reopen...
Describe the bug
If there are syntax error in
hxformat.json
, such as the extraneous comma in the example below, the error message doesn't explain the actual problem with the config.hxformat.json
Expected output (e.g. from jsonlint)
Actual output (repeated once for every input file! more reasonable to print it once and abort)