test: replace concatenation with template literals.#14281
test: replace concatenation with template literals.#14281xeodou wants to merge 1 commit intonodejs:masterfrom
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
4c61fdb
Compare
|
/ping @Trott The change is fixed. |
|
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
|
@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>
|
Landed in 3566195 Thanks for the contribution! 🎉 |
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)