millermedeiros / esformatter

ECMAScript code beautifier/formatter
MIT License
970 stars 91 forks source link

Empty file test fails #162

Closed jzaefferer closed 10 years ago

jzaefferer commented 10 years ago

The test added by 99b50f2b9c30922b660ea34800686c0f45490a9a is failing for me locally, both in master and on the indent-refactor branch. I don't understand why that seems to fail only for me, since Travis doesn't complain and I'm sure @millermedeiros would've noticed it as well.

millermedeiros commented 10 years ago

are you on windows? (only thing that I could think of)

millermedeiros commented 10 years ago

which node.js version?

jzaefferer commented 10 years ago

Figured it out. When considering the paste the stacktrace I got here I realized that the error is in rocambole, so I ran npm install and that fixed the problem. I wonder if we could implement something like my grunt-check-modules plugin as part of the testsuite to avoid such problems. Its [mostly](running npm ls) and checking the exit code.