diff --git a/src/vs/workbench/contrib/terminal/node/terminalProcess.ts b/src/vs/workbench/contrib/terminal/node/terminalProcess.ts index 86a63a0b8439ba07561814af6023f3bcf8094264..61e4891c82171b5ccfbf461414db885f8e2aff1d 100644 --- a/src/vs/workbench/contrib/terminal/node/terminalProcess.ts +++ b/src/vs/workbench/contrib/terminal/node/terminalProcess.ts @@ -82,7 +82,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess } }); - const exectuableVerification = stat(shellLaunchConfig.executable!).then(async stat => { + const executableVerification = stat(shellLaunchConfig.executable!).then(async stat => { if (!stat.isFile() && !stat.isSymbolicLink()) { return Promise.reject(stat.isDirectory() ? SHELL_PATH_DIRECTORY_EXIT_CODE : SHELL_PATH_INVALID_EXIT_CODE); } @@ -98,7 +98,7 @@ export class TerminalProcess extends Disposable implements ITerminalChildProcess } }); - Promise.all([cwdVerification, exectuableVerification]).then(() => { + Promise.all([cwdVerification, executableVerification]).then(() => { this.setupPtyProcess(shellLaunchConfig, options); }).catch((exitCode: number) => { return this._launchFailed(exitCode);