Skip to content

Commit 8066e60

Browse files
committed
try something
1 parent 25bc0bf commit 8066e60

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/vs/workbench/contrib/terminal/browser/terminalInstance.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,9 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
14831483
this._usedShellIntegrationInjection = true;
14841484
break;
14851485
case ProcessPropertyType.Aliases:
1486-
this._parseAliases(value);
1486+
if (value) {
1487+
this._parseAliases(value);
1488+
}
14871489
break;
14881490
}
14891491
});

src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ export class TerminalProcessManager extends Disposable implements ITerminalProce
417417
} else {
418418
baseEnv = await this._terminalProfileResolverService.getEnvironment(this.remoteAuthority);
419419
}
420-
421420
const env = await terminalEnvironment.createTerminalEnvironment(shellLaunchConfig, envFromConfigValue, variableResolver, this._productService.version, this._configHelper.config.detectLocale, baseEnv);
422421
if (!this._isDisposed && !shellLaunchConfig.strictEnv && !shellLaunchConfig.hideFromUser) {
423422
this._extEnvironmentVariableCollection = this._environmentVariableService.mergedCollection;

0 commit comments

Comments
 (0)