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 upDoes not accept __dirname #513
Comments
davidbarton
changed the title
__dirname
Does not accept __dirname
May 7, 2016
This comment has been minimized.
This comment has been minimized.
|
@davidbarton It does work for me using this program: console.log(__dirname)Are you using the latest version (v7.0.1)? |
This comment has been minimized.
This comment has been minimized.
|
Ahh, my bad. I forgot I am using sublime package Flet/SublimeLinter-contrib-standard and they did not updated for months now. |
davidbarton
closed this
May 7, 2016
This comment has been minimized.
This comment has been minimized.
|
Plus I see it got fixed after I installed latest standard version globally. Thanks. |
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.
davidbarton commentedMay 7, 2016
•
edited
Standard does not accept node __dirname global variable. Is it intended? Do you have suggestion for workaround? Maybe should we put this into FAQ?