fix #123762
This commit is contained in:
parent
7f6e9538c6
commit
005b8b8d2c
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ export class ExternalTerminalContribution extends Disposable implements IWorkben
|
|||
this._openInTerminalMenuItem.command.title = nls.localize('scopedConsoleAction.integrated', "Open in Integrated Terminal");
|
||||
return;
|
||||
}
|
||||
|
||||
if (isWindows && config.external.windowsExec) {
|
||||
if (isWindows && config.external?.windowsExec) {
|
||||
const file = basename(config.external.windowsExec);
|
||||
if (file === 'wt' || file === 'wt.exe') {
|
||||
this._openInTerminalMenuItem.command.title = nls.localize('scopedConsoleAction.wt', "Open in Windows Terminal");
|
||||
|
|
Loading…
Reference in a new issue