javascript-eslint.tmbundle icon indicating copy to clipboard operation
javascript-eslint.tmbundle copied to clipboard

Prettier output is breaking "full_report" in `main.py`.

Open robrobbins opened this issue 7 years ago • 0 comments
trafficstars

So recently set up prettier.js and rolled it into my eslint world. Its output breaks the full report function with ye olde python encode error.

A quick and dirty fix is to simply encode the html sent to print -- it makes for an ugly output, but at least it works.

There are prob 100 diff real fixes, but I got tickets to do....

screen shot 2017-12-12 at 3 21 35 pm

add this to line 113 in main.py:

    print(html.encode('utf-8'))

screen shot 2017-12-12 at 3 23 08 pm

robrobbins avatar Dec 12 '17 22:12 robrobbins