piuccio / sublime-esformatter

JavaScript formatter plugin for Sublime Text
MIT License
28 stars 20 forks source link

Invalid token #50

Closed peterorum closed 9 years ago

peterorum commented 9 years ago

Hi,

line 22195 in esformatter.js has an invalid semi-colon at the end

var basepath = process.argv[2].replace(/\\/g, "/");,
    options = JSON.parse(process.argv[3] || "{}");

I also found I now had to have an .esformatter file in my path or there would be an error on line 174.

      throw new TypeError('Arguments to path.join must be strings');
piuccio commented 9 years ago

:facepalm: I swear I tested this. Or not :tongue:

piuccio commented 9 years ago

I believe this is fixed in 1.6.4