From af64fb25741b0367b1020306e501174b443a68fe Mon Sep 17 00:00:00 2001 From: blade254353074 Date: Sun, 16 Jul 2017 15:36:22 +0800 Subject: [PATCH] test: replace string concatenation with template string literals in test-graph.signal.js --- test/async-hooks/test-graph.signal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/async-hooks/test-graph.signal.js b/test/async-hooks/test-graph.signal.js index 3facdae0fa266e..92334b98268840 100644 --- a/test/async-hooks/test-graph.signal.js +++ b/test/async-hooks/test-graph.signal.js @@ -16,20 +16,20 @@ hooks.enable(); process.on('SIGUSR2', common.mustCall(onsigusr2, 2)); let count = 0; -exec('kill -USR2 ' + process.pid); +exec(`kill -USR2 ${process.pid}`); function onsigusr2() { count++; if (count === 1) { // trigger same signal handler again - exec('kill -USR2 ' + process.pid); + exec(`kill -USR2 ${process.pid}`); } else { // install another signal handler process.removeAllListeners('SIGUSR2'); process.on('SIGUSR2', common.mustCall(onsigusr2Again)); - exec('kill -USR2 ' + process.pid); + exec(`kill -USR2 ${process.pid}`); } }