| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| return result; | ||
| // Shave trailing comma, then add newline and ending brace | ||
| return result.slice(0, result.length - 1) + '\r\n}'; |
There was a problem hiding this comment.
Could messageTable have zero elements at this point? I think the shaving of the comma would be wrong then.
Sorry, something went wrong.
There was a problem hiding this comment.
Only if we have zero diagnostics. Which we should never have. Or minimally we shouldn't still be generating this file if we do not.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Mine Starks (@minestarks) This should once more generate valid json, and with the same whitespace it did before; which should help with the diffs.
Fixes a comment on #17463