We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65bccd5 commit 85c181aCopy full SHA for 85c181a
test/async-hooks/test-graph.signal.js
@@ -16,20 +16,20 @@ hooks.enable();
16
process.on('SIGUSR2', common.mustCall(onsigusr2, 2));
17
18
let count = 0;
19
-exec('kill -USR2 ' + process.pid);
+exec(`kill -USR2 ${process.pid}`);
20
21
function onsigusr2() {
22
count++;
23
24
if (count === 1) {
25
// trigger same signal handler again
26
- exec('kill -USR2 ' + process.pid);
+ exec(`kill -USR2 ${process.pid}`);
27
} else {
28
// install another signal handler
29
process.removeAllListeners('SIGUSR2');
30
process.on('SIGUSR2', common.mustCall(onsigusr2Again));
31
32
33
}
34
35
0 commit comments