git: getConfig should trim result

This commit is contained in:
Joao Moreno
2018-09-14 09:22:35 +02:00
parent f448ddebe3
commit 87dbb3a1a6

View File

@@ -678,7 +678,7 @@ export class Repository {
}
const result = await this.run(args, options);
return result.stdout;
return result.stdout.trim();
}
async getConfigs(scope: string): Promise<{ key: string; value: string; }[]> {