Fix ESLint error

This commit is contained in:
Ladislau Szomoru
2022-03-21 16:45:56 +01:00
parent b8a5e18171
commit cfb685861a

View File

@@ -79,7 +79,7 @@ export class Askpass implements IIPCHandler {
};
}
let env: { [key: string]: string; } = {
let env: { [key: string]: string } = {
...this.ipc.getEnv(),
VSCODE_GIT_ASKPASS_NODE: process.execPath,
VSCODE_GIT_ASKPASS_EXTRA_ARGS: (process.versions['electron'] && process.versions['microsoft-build']) ? '--ms-enable-electron-run-as-node' : '',