fix git askpass

This commit is contained in:
João Moreno
2021-01-27 09:45:19 +01:00
parent 93830fbe3d
commit 7b0cfdd04a

View File

@@ -30,7 +30,7 @@ function main(argv: string[]): void {
const output = process.env['VSCODE_GIT_ASKPASS_PIPE'] as string;
const request = argv[2];
const host = argv[4].replace(/^"+|"+$/g, '');
const host = argv[4].replace(/^["']+|["']+$/g, '');
const ipcClient = new IPCClient('askpass');
ipcClient.call({ request, host }).then(res => {