Skip to content

Commit e723058

Browse files
committed
Fix tests
1 parent f41f975 commit e723058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrations/terminal/TerminalRegistry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class TerminalRegistry {
5353
const terminal = this.getTerminalByVSCETerminal(e.terminal)
5454

5555
console.info("[onDidStartTerminalShellExecution]", {
56-
command: e.execution.commandLine.value,
56+
command: e.execution?.commandLine?.value,
5757
terminalId: terminal?.id,
5858
})
5959

@@ -79,7 +79,7 @@ export class TerminalRegistry {
7979
const exitDetails = TerminalProcess.interpretExitCode(e.exitCode)
8080

8181
console.info("[onDidEndTerminalShellExecution]", {
82-
command: e.execution.commandLine.value,
82+
command: e.execution?.commandLine?.value,
8383
terminalId: terminal?.id,
8484
...exitDetails,
8585
})

0 commit comments

Comments
 (0)