Skip to content

Commit 3bbbad3

Browse files
committed
💄
1 parent c30ae90 commit 3bbbad3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

extensions/git/src/commands.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,7 @@ export class CommandCenter {
450450
return;
451451
}
452452

453-
const match = /git\s+clone\s+(.*)/.exec(url);
454-
if (match) {
455-
url = match[1];
456-
}
453+
url = url.replace(/^\s*git\s+clone\s+/, '');
457454

458455
const config = workspace.getConfiguration('git');
459456
let defaultCloneDirectory = config.get<string>('defaultCloneDirectory') || os.homedir();

0 commit comments

Comments
 (0)