-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: explain path.format expected properties #5801
Conversation
Thanks, please wrap lines at 80 characters if that's not too much work. It could also be be nice to expand a little here. |
I'll fix the long line, thanks for pointing that out. I was going to expand further with more examples in a different PR fixing #5747. Would adding more examples in a separate PR be preferred? |
I think one PR is fine but @Trott is more experienced here than I. |
d8fde07
to
8c469c2
Compare
Ok, I'll wait until he chimes in before adding the additional examples. |
One PR is fine as long as the changes are all relevant to the same issue. There can be multiple commits if necessary. |
One PR is fine in this case, but two is also fine, and since you already have it as two, maybe leave it as that. As this is your first commit (right?), it might be best to keep it small anyway so we can focus on process and not endless nits on grammar and style. |
LGTM. If you can squash the two commits down to one and force push, that would be great. If not, whoever lands this can do it. |
If `pathObject` has all expected properties, the returned string will be a | ||
concatenation of the `dir` property, the platform-dependent path separator, and | ||
the `base` property. | ||
If `pathObject` has the `dir` and `base` properties, the returned string will |
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.
Nit: Might be better as "has dir
and base
properties" (no "the").
doc: limit path.format line to 80 characters doc: path.format remove the
b680849
to
c682329
Compare
Still LGTM. Nit: The body of the commit message should probably be a sentence explaining the change rather than the first line of the commits that we're squashed. |
@benjamingr Thanks! Also thanks for your input @jasnell @Trott |
Pull Request check-list
Please make sure to review and check all of these items:
make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass withthis change (including linting)?
test (or a benchmark) included?
existing APIs, or introduces new ones)?
Affected core subsystem(s)
path
Description of change
explain path.format expected properties
fixes #5746