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 upNot sure what's wrong here: v10.0.0 #840
Comments
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Apr 6, 2017
|
it depends on node version, what you use? also can try to set name for the async fn |
This comment has been minimized.
This comment has been minimized.
|
I am on |
This comment has been minimized.
This comment has been minimized.
|
One more thing, it works fine with |
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Apr 6, 2017
•
|
I can't reproduce it ~/dev
% ❯ echo "var test = () => {}; test('foo bar', async function () {})" > issue840.js April 06, 18:05:41
~/dev
% ❯ cat issue840.js April 06, 18:05:43
var test = () => {}; test('foo bar', async function () {})
~/dev
% ❯ standard --version April 06, 18:05:48
10.0.0
~/dev
% ❯ standard issue840.js April 06, 18:05:55
~/dev
% ❯ node --version April 06, 18:06:00
v7.7.1
% ❯ |
This comment has been minimized.
This comment has been minimized.
|
Weird, uninstalled standard and re-installed it. All went fine, Thanks |
thetutlage
closed this
Apr 6, 2017
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
thetutlage commentedApr 6, 2017
Just upgrade to version 10 and standard linter says
Unexpected token function (undefined)Code