Skip to content

Commit ab8a3f3

Browse files
committed
1 parent 32b5398 commit ab8a3f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/git/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export class CommandCenter {
460460

461461
@command('git.clone')
462462
async clone(url?: string, parentPath?: string): Promise<void> {
463-
if (!url) {
463+
if (!url || typeof url !== 'string') {
464464
url = await pickRemoteSource(this.model, {
465465
providerLabel: provider => localize('clonefrom', "Clone from {0}", provider.name),
466466
urlLabel: localize('repourl', "Clone from URL")

0 commit comments

Comments
 (0)