mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Git - expose env through the extension API (#236598)
This commit is contained in:
@@ -315,7 +315,7 @@ export interface IGitOptions {
|
||||
gitPath: string;
|
||||
userAgent: string;
|
||||
version: string;
|
||||
env?: any;
|
||||
env?: { [key: string]: string };
|
||||
}
|
||||
|
||||
function getGitErrorCode(stderr: string): string | undefined {
|
||||
@@ -369,7 +369,8 @@ export class Git {
|
||||
readonly path: string;
|
||||
readonly userAgent: string;
|
||||
readonly version: string;
|
||||
private env: any;
|
||||
readonly env: { [key: string]: string };
|
||||
|
||||
private commandsToLog: string[] = [];
|
||||
|
||||
private _onOutput = new EventEmitter();
|
||||
|
||||
Reference in New Issue
Block a user