From 7834cad06adcd4ca8e7292d34f2636454d381b9d Mon Sep 17 00:00:00 2001 From: Kabir Islam Date: Fri, 10 Nov 2017 12:20:28 +0530 Subject: [PATCH] test: Replaced string concatenation with template --- test/fixtures/cluster-preload-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/cluster-preload-test.js b/test/fixtures/cluster-preload-test.js index 0094fe6657fd7c..570cb83bdc496e 100644 --- a/test/fixtures/cluster-preload-test.js +++ b/test/fixtures/cluster-preload-test.js @@ -2,6 +2,6 @@ const cluster = require('cluster'); if (cluster.isMaster) { cluster.fork(); // one child cluster.on('exit', function(worker, code, signal) { - console.log('worker terminated with code ' + code); + console.log(`worker terminated with code ${code}`); }); }