This commit is contained in:
João Moreno
2021-01-26 14:12:50 +01:00
parent 75ff8b1131
commit 9e07bfd594

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].substring(1, argv[4].length - 1);
const host = argv[4].replace(/^"+|"+$/g, '');
const ipcClient = new IPCClient('askpass');
ipcClient.call({ request, host }).then(res => {