From be4cc2e385489875493ff53fe3a067ac3ccfc6c3 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 28 May 2024 18:39:58 +0200 Subject: [PATCH] lint --- src/terminal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.ts b/src/terminal.ts index 72804a8..c81854e 100644 --- a/src/terminal.ts +++ b/src/terminal.ts @@ -53,9 +53,9 @@ export class Terminal implements ITerminal { const message_type = data[0]; const content = data.slice(1); - if (message_type == 'stdin') { + if (message_type === 'stdin') { await this._shell!.input(content[0] as string); - } else if (message_type == 'set_size') { + } else if (message_type === 'set_size') { const rows = content[0] as number; const columns = content[1] as number; await this._shell!.setSize(rows, columns);