">>> undefined" appears in CLI output when using this plugin
Closed this issue · 6 comments
having installed esformatter and esformatter-jsx globally, when I run the command
esformatter --plugins esformatter-jsx Foo.js
It formats appropriately, except I get output:
undefined
undefined
import React, { PropTypes } from 'react';
import { reduxForm, change } from 'redux-form';
...
I have this no .esformatter file or other configuration. Using Mac OS X , iterm2, bash, node 5.
Any help appreciated, otherwise it works great.
github changed the formatting of ">>>" to indent ! actually what appears is ">>>undefined" on first 2 lines.
The published package contains that line in lib/format-jsx.js
:
I couldn't find this in the commit history. It's possible that this line's been added before npm publish
(which picks up local changes, not a clean state git checkout). @royriojas is it possible to re-publish this please?
Sure, so sorry not sure how this line got into it. Fixing it now.
Works now, thanks a lot!
yup, works for me too , thanks!