yasuyk / web-beautify

Format HTML, CSS and JavaScript/JSON by js-beautify
GNU General Public License v3.0
219 stars 21 forks source link

Must define at least one file. #18

Open paroxyzm opened 8 years ago

paroxyzm commented 8 years ago

I installed web-beautify by command: npm -g install js-beautify and web-beautify-html and web-beautify-css work correctly, but fireing web-beautify-js throws an error:

Must define at least one file. jsbeautifier.py@1.5.10

However, if i select whole buffer, then it works...

What to do?

yasuyk commented 8 years ago

@paroxyzm Sorry for the delayed response. This issue is fixed by #9. Please try the latest version of web-beautify.