Uh oh!
There was an error while loading. Please reload this page.
test: replace concatenation with template literals. - #14281
Conversation
There was a problem hiding this comment.
Does this get flagged as too long when you run make jslint (or vcbuild jslint on Windows)?
If so, maybe it can be split onto two lines?:
message: 'The "pathObject" argument must be of type Object. '+`Received type ${typeName(pathObject)}`;It only gets rid of one of the concatenations rather than both that way, but I'm not sure there's a good way around it with the line length limit.
0bee10a to
4c61fdbCompare/ping @Trott The change is fixed. |
vsemozhetbyt
commented
Jul 16, 2017
Trott
commented
Jul 16, 2017
CI was green but I canceled some of the slower hosts to help with our CI jobs backlog. IMO this can be considered green CI. |
gireeshpunathil
left a comment
There was a problem hiding this comment.
It would have been good to improve the cohesion and clarity by joining the two sentences with a preposition such as but or instead
tniessen
commented
Jul 17, 2017
@gireeshpunathil Even though I agree, that is out of the scope of this PR. These error messages are generated automatically by |
PR-URL: nodejs#14281 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Trott
commented
Jul 24, 2017
Landed in 3566195 Thanks for the contribution! 🎉 |
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)