Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upstandard --format throws #251
Comments
This comment has been minimized.
This comment has been minimized.
|
An exception can also be provoked by this file: function () {
}creating this stacktrace:
|
This comment has been minimized.
This comment has been minimized.
|
This is an issue with the standard formatter. Please open an issue on standard-format. |
feross
closed this
Sep 8, 2015
lock
bot
locked as resolved and limited conversation to collaborators
May 11, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
febeling commentedSep 8, 2015
I have a reduced test case,
test.js, on which the formatter throws an exception:This is the stacktrace:
This is the affected version:
Note that the exception isn't thrown if the loop parenthesis is kept on a single line.