From 7715f6bfdc027dfaab2e68cc3f5ff99e8565117c Mon Sep 17 00:00:00 2001 From: Wil Wilsman Date: Thu, 22 Aug 2019 10:30:07 -0500 Subject: [PATCH] Fix comment typo --- src/commands/exec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/exec.ts b/src/commands/exec.ts index d6b32d9b..795d66c1 100644 --- a/src/commands/exec.ts +++ b/src/commands/exec.ts @@ -58,7 +58,7 @@ export default class Exec extends PercyCommand { const spawnedProcess = spawn(command, argv, { stdio: 'inherit' }) spawnedProcess.on('exit', (code) => this.stop(code)) - // Recieving any of these events should stop the agent and exit + // Receiving any of these events should stop the agent and exit process.on('SIGHUP', () => this.stop()) process.on('SIGINT', () => this.stop()) process.on('SIGTERM', () => this.stop())