src,tools: use template literals
Pull Request check-list
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to [CONTRIBUTING.md][0]? -
If this change fixes a bug (or a performance problem), is a regression test (or a benchmark) included? -
Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
Affected core subsystem(s)
src, tools
Description of change
Convert string concatenation to template literals. Enforce with lint rule.
This came out of the conversation around https://github.com/nodejs/node/pull/5762. If this is not objectionable, then the idea would be to enable the prefer-template
rule on other parts of the codebase, moving it incrementally to using template literals instead of string concatenation.