未验证 提交 98d41147 编写于 作者: D Daniel Imms 提交者: GitHub

Merge pull request #81165 from kke/patch-1

Fix terminalProcess typo "exectuableVerification"
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册