-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
doc: add added:
information for globals
#8901
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Care to leave out the whitespace changes? IIRC, some people prefer the double space style to start sentences. It's a stylistic issue that should probably be discussed beforehand and then done once everywhere.
filename used in the command line. The value inside a module is the path | ||
The filename of the code being executed. This is the resolved absolute path | ||
of this code file. For a main program this is not necessarily the same | ||
filename used in the command line. The value inside a module is the path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, maybe we should lint for these, if it's possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No strong opinion on this so yeah I can revert this change but when rendered it uses a single space anyway so I don't see the point of using 2+.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
a569d0f
to
1952f70
Compare
Should we document the deprecated |
@silverwind I'd say probably not... what point is there now? |
Just for historical purpose I guess. They were deprecated in 6.0.0 (#1838), by the way. |
@silverwind this means re-adding |
Yeah, let’s not add |
Okay, lets leave them out. LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I’ll start landing this:
|
Landed in bd0bedb |
Heads up, this doesn’t land cleanly on |
Ref: nodejs#6578 PR-URL: nodejs#8901 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Checklist
Affected core subsystem(s)
doc
Description of change
Ref: #6578