mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00

The 'eslint' linter will assume there is an error message if the output is not valid JSON. However, if output[0] evaluates to False, then it will also replace the output with '[]' (which means success). But if the error starts with a blank line, then output[0] is False and we wrongfully don't print the rest of the message. MozReview-Commit-ID: 9fXpmtlUUT1 --HG-- extra : rebase_source : b0466ea665cc311d9512756349b079c136a83ac1