mikew / prettier_d_slim

MIT License
56 stars 11 forks source link

version is not reported correctly #2

Closed lougreenwood closed 3 years ago

lougreenwood commented 3 years ago

when running prettier_d_slim, the reported version is incorrect, since it reports the bundled fallback version, not the project version which the server discovers, which is what I would expect to see reported.

(Also, there's a typo in the code to report the version... this line should be require('../../package.json').version)

mikew commented 3 years ago

This is an artifact from when I copied stuff from eslint_d. Really not a high priority, and if you'd like to do a PR, I'd suggest removing the prettier version and just report the one from this project.