You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently fixjsstyle unconditionally adds a semicolon after every function
definition, but this sometimes produces a syntax error, e.g.:
$ cat bug.js
var a = function() {},
b = 42;
$ node bug.js
$ fixjsstyle bug.js
Fixed 1 errors in /home/jelle/js/bug.js
$ cat bug.js
var a = function() {};,
b = 42;
$ node bug.js
/home/jelle/js/bug.js:1
on (exports, require, module, __filename, __dirname) { var a = function() {};,
^
SyntaxError: Unexpected token ,
What version of the product are you using? On what operating system?
closure-linter 2.3.13 on Ubuntu 12.04
Original issue reported on code.google.com by [email protected] on 22 Aug 2014 at 5:31
Original issue reported on code.google.com by
[email protected]
on 22 Aug 2014 at 5:31The text was updated successfully, but these errors were encountered: