From 4022d4c3635d98a0d0c85f0c621be51f52163387 Mon Sep 17 00:00:00 2001 From: Nokome Bentley Date: Tue, 3 Nov 2020 14:38:19 +1300 Subject: [PATCH] fix(Basha): Warn on premature exit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 70ffc7a..d543fd9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -222,7 +222,7 @@ export class Basha extends Listener { }) terminal.onExit(() => { - if (!this.isStopping) log.error(`Bash exited prematurely`) + if (!this.isStopping) log.warn(`Bash exited prematurely`) if (this.whenReady !== undefined) this.whenReady() this.terminal = undefined })