Skip to content

Commit a13cc70

Browse files
Removes fetch prompt from deep link flow
1 parent abc80f8 commit a13cc70

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/uris/deepLinks/deepLinkService.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -477,17 +477,6 @@ export class DeepLinkService implements Disposable {
477477
return openLocationResult?.action;
478478
}
479479

480-
private async showFetchPrompt(): Promise<boolean> {
481-
const fetch: QuickPickItem = { label: 'Fetch' };
482-
const cancel: QuickPickItem = { label: 'Cancel' };
483-
const result = await window.showQuickPick([fetch, createQuickPickSeparator<QuickPickItem>(), cancel], {
484-
title: 'Locating Link Target',
485-
placeHolder: 'Unable to find the link target(s), would you like to fetch from the remote?',
486-
});
487-
488-
return result === fetch;
489-
}
490-
491480
private async showAddRemotePrompt(remoteUrl: string, existingRemoteNames: string[]): Promise<string | undefined> {
492481
const add: QuickPickItem = { label: 'Add Remote' };
493482
const cancel: QuickPickItem = { label: 'Cancel' };
@@ -1028,11 +1017,6 @@ export class DeepLinkService implements Disposable {
10281017
break;
10291018
}
10301019

1031-
if (!(await this.showFetchPrompt())) {
1032-
action = DeepLinkServiceAction.DeepLinkCancelled;
1033-
break;
1034-
}
1035-
10361020
try {
10371021
await repo.fetch({ remote: remote.name, progress: true });
10381022
} catch {

0 commit comments

Comments
 (0)