Browse Source

Removes no longer needed code

main
Eric Amodio 1 year ago
parent
commit
78ceb2a10e
1 changed files with 2 additions and 10 deletions
  1. +2
    -10
      src/extension.ts

+ 2
- 10
src/extension.ts View File

@ -1,5 +1,5 @@
import type { ExtensionContext } from 'vscode';
import { version as codeVersion, env, ExtensionMode, extensions, Uri, window, workspace } from 'vscode';
import { version as codeVersion, env, ExtensionMode, Uri, window, workspace } from 'vscode';
import { hrtime } from '@env/hrtime';
import { isWeb } from '@env/platform';
import { Api } from './api/api';
@ -15,7 +15,7 @@ import { isRepository } from './git/models/repository';
import { isTag } from './git/models/tag';
import { showDebugLoggingWarningMessage, showPreReleaseExpiredErrorMessage, showWhatsNewMessage } from './messages';
import { registerPartnerActionRunners } from './partners';
import { executeCommand, executeCoreCommand, registerCommands } from './system/command';
import { executeCommand, registerCommands } from './system/command';
import { configuration, Configuration } from './system/configuration';
import { setContext } from './system/context';
import { setDefaultDateLocales } from './system/date';
@ -219,8 +219,6 @@ export async function activate(context: ExtensionContext): Promise
endTime,
);
setTimeout(uninstallDeprecatedAuthentication, 25000);
return Promise.resolve(api);
}
@ -362,9 +360,3 @@ async function showWelcomeOrWhatsNew(
}
}
}
function uninstallDeprecatedAuthentication() {
if (extensions.getExtension('gitkraken.gitkraken-authentication') == null) return;
void executeCoreCommand('workbench.extensions.uninstallExtension', 'gitkraken.gitkraken-authentication');
}

Loading…
Cancel
Save