diff --git a/lib/kill.js b/lib/kill.js index 03e4627483..a684e2c043 100644 --- a/lib/kill.js +++ b/lib/kill.js @@ -21,6 +21,9 @@ const setKillTimeout = (kill, signal, options, killResult) => { kill('SIGKILL'); }, timeout); + // Guarded because there's no `.unref()` when `execa` is used in the renderer + // process in Electron. This cannot be tested since we don't run tests in + // Electron. // istanbul ignore else if (t.unref) { t.unref();