From c945f5e64e2314a93454e53186fcc23c0797180f Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 24 Oct 2024 11:12:44 -0700 Subject: [PATCH] more log --- wrapper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wrapper.ts b/wrapper.ts index 142b0b5..5096d38 100644 --- a/wrapper.ts +++ b/wrapper.ts @@ -58,6 +58,7 @@ export class Pty { resolve = res; }); const mockedExit = (error: NodeJS.ErrnoException | null, code: number) => { + console.log('mocked exit') resolve({ error, code }); }; @@ -88,6 +89,7 @@ export class Pty { ttyStreamEnded = true; exitResult.then((result) => { + console.log('calling real exit') realExit(result.error, result.code) }); }