vasilevich / nginxbeautifier

Format and beautify nginx config files
https://nginxbeautifier.com
Apache License 2.0
167 stars 20 forks source link

--dontjoin is adding a additional newline #18

Open edwinveldhuizen opened 3 years ago

edwinveldhuizen commented 3 years ago

I'm having the issue with https://github.com/Glavin001/atom-beautify that uses this library that:

if ($foo) {
  // code
}

is turning into

if ($foo) {

  // code
}

Any idea why this could be or how to resolve this?