This commit is contained in:
Joao Moreno
2019-08-06 13:53:34 +02:00
parent c30ae90a9c
commit 3bbbad38c1

View File

@@ -450,10 +450,7 @@ export class CommandCenter {
return;
}
const match = /git\s+clone\s+(.*)/.exec(url);
if (match) {
url = match[1];
}
url = url.replace(/^\s*git\s+clone\s+/, '');
const config = workspace.getConfiguration('git');
let defaultCloneDirectory = config.get<string>('defaultCloneDirectory') || os.homedir();