Skip to content

Commit 98d4114

Browse files
authored
Merge pull request microsoft#81165 from kke/patch-1
Fix terminalProcess typo "exectuableVerification"
2 parents f20785d + 6f24ffa commit 98d4114

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/terminal/node/terminalProcess.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess
8282
}
8383
});
8484

85-
const exectuableVerification = stat(shellLaunchConfig.executable!).then(async stat => {
85+
const executableVerification = stat(shellLaunchConfig.executable!).then(async stat => {
8686
if (!stat.isFile() && !stat.isSymbolicLink()) {
8787
return Promise.reject(stat.isDirectory() ? SHELL_PATH_DIRECTORY_EXIT_CODE : SHELL_PATH_INVALID_EXIT_CODE);
8888
}
@@ -98,7 +98,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess
9898
}
9999
});
100100

101-
Promise.all([cwdVerification, exectuableVerification]).then(() => {
101+
Promise.all([cwdVerification, executableVerification]).then(() => {
102102
this.setupPtyProcess(shellLaunchConfig, options);
103103
}).catch((exitCode: number) => {
104104
return this._launchFailed(exitCode);

0 commit comments

Comments
 (0)