HubSpot / prettier-maven-plugin

Apache License 2.0
116 stars 23 forks source link

fix for https://github.com/HubSpot/prettier-maven-plugin/issues/79 #82

Open sfrevel opened 1 year ago

sfrevel commented 1 year ago

fix for https://github.com/HubSpot/prettier-maven-plugin/issues/79

It looks like java-prettier before version 0.8.2 initialize the stdout/stderr in a different order than from version greater than 0.8.2.

I added a check and read from stdout and then stderr if we have a version set prior to 0.8.2 and the other way arround if we set a version from 0.8.2 on.