diff --git a/terminus-ssh/src/api.ts b/terminus-ssh/src/api.ts index c2d3b296..91a3365c 100644 --- a/terminus-ssh/src/api.ts +++ b/terminus-ssh/src/api.ts @@ -161,7 +161,7 @@ export class SSHSession extends BaseSession { } }) - this.shell.on('end', e => { + this.shell.on('end', () => { this.logger.info('Shell session ended') if (this.open) { this.destroy()