Skip to content

Commit

Permalink
more log
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Oct 24, 2024
1 parent a815dc2 commit c945f5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class Pty {
resolve = res;
});
const mockedExit = (error: NodeJS.ErrnoException | null, code: number) => {
console.log('mocked exit')
resolve({ error, code });
};

Expand Down Expand Up @@ -88,6 +89,7 @@ export class Pty {

ttyStreamEnded = true;
exitResult.then((result) => {
console.log('calling real exit')
realExit(result.error, result.code)
});
}
Expand Down

0 comments on commit c945f5e

Please sign in to comment.