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>
This commit is contained in:
parent
42e8254f19
commit
b41d215f28
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user