Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKai Cataldo <kaicataldo@gmail.com>2017-10-06 19:47:59 +0300
committerMichaƫl Zasso <targos@protonmail.com>2017-10-18 09:28:34 +0300
commit94a76162ef36b017f1462eb5f5cce48abaf185b6 (patch)
tree6852e8943f75c44a28766ca12c9bc228ac2f5f6f /tools
parent56cf077e0ec53e0d32d0847e9190746021ae81b4 (diff)
tools: replace string concat
PR-URL: https://github.com/nodejs/node/pull/15850 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test-npm-package.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-npm-package.js b/tools/test-npm-package.js
index 4acad2067f0..00e9a81928a 100755
--- a/tools/test-npm-package.js
+++ b/tools/test-npm-package.js
@@ -39,7 +39,7 @@ function spawnCopyDeepSync(source, destination) {
function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) {
// Make sure we don't conflict with concurrent test runs
const srcHash = createHash('md5').update(srcDir).digest('hex');
- common.tmpDir = common.tmpDir + '.npm.' + srcHash;
+ common.tmpDir = `${common.tmpDir}.npm.${srcHash}`;
common.refreshTmpDir();
const tmpDir = common.tmpDir;