Closed futurist closed 8 years ago
For it's can pass all test on linux server(also travis-ci), but cannot pass test on my mac,
due to the test [cli invalid config 2], it's produces below different error than linux:
Error: /Users/mac/Projects/github.com/esformatter/test/compare/default/call_expression-in.js Can't parse configuration file '/Users/mac/Projects/github.com/esformatter/test/compare/error/invalid.json'. Exception: Unexpected token l in JSON at position 4
The char after letter token l is space
, not \n
So there's an additional commit to fix this. Now can pass tests both on linux and mac.
thanks for doing this!
also added tests for
default
andcustom
fixes #446