mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
fix #123762
This commit is contained in:
parent
7f6e9538c6
commit
005b8b8d2c
|
@ -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