Skip to content

Commit

Permalink
c8 ignore a platform-specific line
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 16, 2023
1 parent c791d03 commit af5a995
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ class SignalExit extends SignalExitBase {
this.unload()
this.#emitter.emit('exit', null, sig)
this.#emitter.emit('afterExit', null, sig)
/* c8 ignore start */
process.kill(process.pid, sig === 'SIGHUP' ? this.#hupSig : sig)
/* c8 ignore stop */
}
}
}
Expand Down

0 comments on commit af5a995

Please sign in to comment.