| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 83c8e5c commit 265f159
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ assert.strictEqual(typeof signal1.triggerAsyncId, 'number'); | |||
| 22 | 22 | checkInvocations(signal1, { init: 1 }, 'when SIGUSR2 handler is set up'); | |
| 23 | 23 | ||
| 24 | 24 | let count = 0; | |
| 25 | - exec('kill -USR2 ' + process.pid); | ||
| 25 | + exec(`kill -USR2 ${process.pid}`); | ||
| 26 | 26 | ||
| 27 | 27 | let signal2; | |
| 28 | 28 | ||
@@ -36,7 +36,7 @@ function onsigusr2() { | |||
| 36 | 36 | ' signal1: when first SIGUSR2 handler is called for the first time'); | |
| 37 | 37 | ||
| 38 | 38 | // trigger same signal handler again | |
| 39 | - exec('kill -USR2 ' + process.pid); | ||
| 39 | + exec(`kill -USR2 ${process.pid}`); | ||
| 40 | 40 | } else { | |
| 41 | 41 | // second invocation | |
| 42 | 42 | checkInvocations( | |
@@ -61,7 +61,7 @@ function onsigusr2() { | |||
| 61 | 61 | signal2, { init: 1 }, | |
| 62 | 62 | 'signal2: when second SIGUSR2 handler is setup'); | |
| 63 | 63 | ||
| 64 | - exec('kill -USR2 ' + process.pid); | ||
| 64 | + exec(`kill -USR2 ${process.pid}`); | ||
| 65 | 65 | } | |
| 66 | 66 | } | |
| 67 | 67 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments