Uh oh!
There was an error while loading. Please reload this page.
doc: path.format provide more examples - #5838
Conversation
eversojk
commented
Mar 22, 2016
I've run the tests to get into the habit of doing so and seem to be getting an error unrelated to any of my changes. If someone could confirm they are seeing something similar I'd be happy to create an issue. makejslintmake[1]: Enteringdirectory'/home/john/projects/node'./nodetools/eslint/bin/eslint.jsbenchmarklibsrctesttools/doc \
tools/eslint-rules--rulesdirtools/eslint-rules/home/john/projects/node/benchmark/http_simple_auto.js16:13errorStringsmustusesinglequotequotes35:19errorStringsmustusesinglequotequotes44:12error'i'isnotdefinedno-undef44:19error'i'isnotdefinedno-undef44:26error'i'isnotdefinedno-undef45:25error'i'isnotdefinedno-undef77:10error'i'isnotdefinedno-undef77:37error'i'isnotdefinedno-undef77:46error'i'isnotdefinedno-undef78:28error'i'isnotdefinedno-undef78:38error'i'isnotdefinedno-undef✖11problems(11errors,0warnings)
Makefile:596: recipefortarget'jslint'failedmake[1]: ***[jslint]Error1make[1]: Leavingdirectory'/home/john/projects/node'
Makefile:115: recipefortarget'test'failedmake: ***[test]Error2 |
eversojk
commented
Mar 22, 2016
Ready for review |
Trott
commented
Mar 22, 2016
Regarding the benchmark tests failing lint, not your problem, it's #5359. I'll put together a fix now unless someone beats me to it. |
Trott
commented
Mar 22, 2016
The fix has landed, so if you do a rebase against master, it should clear up the linting issue you had. |
Trott
commented
Mar 22, 2016
OK, so looking at the change you made here, it's all correct, but I think it would be better to format the changes as if the So, for example, the value of So maybe start with that output above and just delete properties as needed (and update your results, of course, as needed)? Is that clear? I hope I'm making sense... |
eversojk
commented
Mar 23, 2016
Makes perfect sense, I'll add in those changes. |
d2e55ae to
42eabf7Compareeversojk
commented
Mar 23, 2016
I've updated with your suggestions. I used Would it be preferred that I squash all of my commits and explain what my change is in the squashed commit before having you review? |
5d4bfaf to
a612f3dCompareTrott
commented
Mar 23, 2016
Now is probably a good time to squash, yes. |
There was a problem hiding this comment.
Nit: Would it help to put a period at the end of this line and the one above to make it clear that the subsequent line is a new sentence?
Trott
commented
Mar 23, 2016
LGTM with nits that can be ignored if you disagree with them. |
eversojk
commented
Mar 23, 2016
I agree with the nits, I debated doing that. |
ba60503 to
4b0d410Compareeversojk
commented
Mar 23, 2016
Nits updated and commits squashed. |
Trott
commented
Mar 23, 2016
/cc @nodejs/documentation |
jasnell
commented
Mar 23, 2016
LGTM |
Trott
commented
Mar 23, 2016
LGTM Nit: Might as well add periods to the end of all the comment sentences and capitalize the first word (where it's not the name of a property!) for consistency. (And if not, then oh well, it will make a nice good first commit for someone else.) |
nwoltman
commented
Mar 23, 2016
4b0d410 to
acfee9aCompareThis change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios.
acfee9a to
1cea17fCompareeversojk
commented
Mar 24, 2016
Sentences marked and typo fixed! |
r-52
commented
Mar 24, 2016
LGTM |
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
jasnell
commented
Apr 9, 2016
Landed in 820844d |
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
Pull Request check-list
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
Added examples for all cases of path.format for V5.9.0 on Linux.
Fixes#5747