Skip to content

Commit

Permalink
Removes looking for deprecated RemoteHub insiders
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Mar 25, 2022
1 parent cd263c4 commit 7487ce4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plus/remotehub.ts
Expand Up @@ -7,9 +7,7 @@ export async function getRemoteHubApi(silent: false): Promise<RemoteHubApi>;
export async function getRemoteHubApi(silent: boolean): Promise<RemoteHubApi | undefined>;
export async function getRemoteHubApi(silent?: boolean): Promise<RemoteHubApi | undefined> {
try {
const extension =
extensions.getExtension<RemoteHubApi>('GitHub.remotehub') ??
extensions.getExtension<RemoteHubApi>('GitHub.remotehub-insiders');
const extension = extensions.getExtension<RemoteHubApi>('GitHub.remotehub');
if (extension == null) {
Logger.log('GitHub Repositories extension is not installed or enabled');
throw new ExtensionNotFoundError('GitHub Repositories', 'GitHub.remotehub');
Expand Down

0 comments on commit 7487ce4

Please sign in to comment.