Skip to content

Commit 00c9e4b

Browse files
committed
Removes unused case
1 parent 8bf9925 commit 00c9e4b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/plus/launchpad/launchpadIndicator.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { pluralize } from '../../system/string';
1111
import { executeCommand, registerCommand } from '../../system/vscode/command';
1212
import { configuration } from '../../system/vscode/configuration';
1313
import type { ConnectionStateChangeEvent } from '../integrations/integrationService';
14-
import { HostingIntegrationId } from '../integrations/providers/models';
14+
import type { HostingIntegrationId } from '../integrations/providers/models';
1515
import type { LaunchpadCommandArgs } from './launchpad';
1616
import type { LaunchpadGroup, LaunchpadItem, LaunchpadProvider, LaunchpadRefreshEvent } from './launchpadProvider';
1717
import {
@@ -564,14 +564,6 @@ export class LaunchpadIndicator implements Disposable {
564564
}
565565
break;
566566
}
567-
case 'connectGitHub': {
568-
const github = await this.container.integrations?.get(HostingIntegrationId.GitHub);
569-
if (github == null) break;
570-
if (!(github.maybeConnected ?? (await github.isConnected()))) {
571-
void github.connect('launchpad-indicator');
572-
}
573-
break;
574-
}
575567
default:
576568
break;
577569
}

0 commit comments

Comments
 (0)