Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not accept __dirname #513

Closed
davidbarton opened this issue May 7, 2016 · 3 comments

Comments

@davidbarton
Copy link

commented May 7, 2016

Standard does not accept node __dirname global variable. Is it intended? Do you have suggestion for workaround? Maybe should we put this into FAQ?

@davidbarton davidbarton changed the title __dirname Does not accept __dirname May 7, 2016

@watson

This comment has been minimized.

Copy link
Member

commented May 7, 2016

@davidbarton It does work for me using this program:

console.log(__dirname)

Are you using the latest version (v7.0.1)?
What is the exact error you get?

@davidbarton

This comment has been minimized.

Copy link
Author

commented May 7, 2016

Ahh, my bad. I forgot I am using sublime package Flet/SublimeLinter-contrib-standard and they did not updated for months now.

@davidbarton davidbarton closed this May 7, 2016

@davidbarton

This comment has been minimized.

Copy link
Author

commented May 7, 2016

Plus I see it got fixed after I installed latest standard version globally. Thanks.

@lock 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.
2 participants
You can’t perform that action at this time.