mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
platform#IProcessEnvironment is badly typed (fix #119046)
This commit is contained in:
@@ -291,7 +291,7 @@ export class CodeApplication extends Disposable {
|
||||
|
||||
let replied = false;
|
||||
|
||||
function acceptShellEnv(env: NodeJS.ProcessEnv): void {
|
||||
function acceptShellEnv(env: IProcessEnvironment): void {
|
||||
clearTimeout(shellEnvSlowWarningHandle);
|
||||
clearTimeout(shellEnvTimeoutErrorHandle);
|
||||
|
||||
@@ -332,7 +332,7 @@ export class CodeApplication extends Disposable {
|
||||
// Window can be undefined for e.g. the shared process
|
||||
// that is not part of our windows registry!
|
||||
let args: NativeParsedArgs;
|
||||
let env: NodeJS.ProcessEnv;
|
||||
let env: IProcessEnvironment;
|
||||
if (window?.config) {
|
||||
args = window.config;
|
||||
env = { ...process.env, ...window.config.userEnv };
|
||||
|
||||
Reference in New Issue
Block a user