Skip to content

Commit 28c13a1

Browse files
authored
Fix typo in class name (#24314)
1 parent fb79afb commit 28c13a1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/client/interpreter/display/progressDisplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { IComponentAdapter } from '../contracts';
1717

1818
// The parts of IComponentAdapter used here.
1919
@injectable()
20-
export class InterpreterLocatorProgressStatubarHandler implements IExtensionSingleActivationService {
20+
export class InterpreterLocatorProgressStatusBarHandler implements IExtensionSingleActivationService {
2121
public readonly supportedWorkspaceTypes = { untrustedWorkspace: false, virtualWorkspace: true };
2222

2323
private deferred: Deferred<void> | undefined;

src/client/interpreter/serviceRegistry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
} from './configuration/types';
2828
import { IActivatedEnvironmentLaunch, IInterpreterDisplay, IInterpreterHelper, IInterpreterService } from './contracts';
2929
import { InterpreterDisplay } from './display';
30-
import { InterpreterLocatorProgressStatubarHandler } from './display/progressDisplay';
30+
import { InterpreterLocatorProgressStatusBarHandler } from './display/progressDisplay';
3131
import { InterpreterHelper } from './helpers';
3232
import { InterpreterPathCommand } from './interpreterPathCommand';
3333
import { InterpreterService } from './interpreterService';
@@ -83,7 +83,7 @@ export function registerInterpreterTypes(serviceManager: IServiceManager): void
8383

8484
serviceManager.addSingleton<IExtensionSingleActivationService>(
8585
IExtensionSingleActivationService,
86-
InterpreterLocatorProgressStatubarHandler,
86+
InterpreterLocatorProgressStatusBarHandler,
8787
);
8888

8989
serviceManager.addSingleton<IInterpreterAutoSelectionService>(

src/test/interpreters/display/progressDisplay.unit.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Commands } from '../../../client/common/constants';
1111
import { createDeferred, Deferred } from '../../../client/common/utils/async';
1212
import { Interpreters } from '../../../client/common/utils/localize';
1313
import { IComponentAdapter } from '../../../client/interpreter/contracts';
14-
import { InterpreterLocatorProgressStatubarHandler } from '../../../client/interpreter/display/progressDisplay';
14+
import { InterpreterLocatorProgressStatusBarHandler } from '../../../client/interpreter/display/progressDisplay';
1515
import { ProgressNotificationEvent, ProgressReportStage } from '../../../client/pythonEnvironments/base/locator';
1616
import { noop } from '../../core';
1717

@@ -41,7 +41,7 @@ suite('Interpreters - Display Progress', () => {
4141
});
4242
test('Display discovering message when refreshing interpreters for the first time', async () => {
4343
const shell = mock(ApplicationShell);
44-
const statusBar = new InterpreterLocatorProgressStatubarHandler(instance(shell), [], componentAdapter);
44+
const statusBar = new InterpreterLocatorProgressStatusBarHandler(instance(shell), [], componentAdapter);
4545
when(shell.withProgress(anything(), anything())).thenResolve();
4646

4747
await statusBar.activate();
@@ -53,7 +53,7 @@ suite('Interpreters - Display Progress', () => {
5353

5454
test('Display refreshing message when refreshing interpreters for the second time', async () => {
5555
const shell = mock(ApplicationShell);
56-
const statusBar = new InterpreterLocatorProgressStatubarHandler(instance(shell), [], componentAdapter);
56+
const statusBar = new InterpreterLocatorProgressStatusBarHandler(instance(shell), [], componentAdapter);
5757
when(shell.withProgress(anything(), anything())).thenResolve();
5858

5959
await statusBar.activate();
@@ -70,7 +70,7 @@ suite('Interpreters - Display Progress', () => {
7070

7171
test('Progress message is hidden when loading has completed', async () => {
7272
const shell = mock(ApplicationShell);
73-
const statusBar = new InterpreterLocatorProgressStatubarHandler(instance(shell), [], componentAdapter);
73+
const statusBar = new InterpreterLocatorProgressStatusBarHandler(instance(shell), [], componentAdapter);
7474
when(shell.withProgress(anything(), anything())).thenResolve();
7575

7676
await statusBar.activate();

src/test/interpreters/serviceRegistry.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
IInterpreterService,
3636
} from '../../client/interpreter/contracts';
3737
import { InterpreterDisplay } from '../../client/interpreter/display';
38-
import { InterpreterLocatorProgressStatubarHandler } from '../../client/interpreter/display/progressDisplay';
38+
import { InterpreterLocatorProgressStatusBarHandler } from '../../client/interpreter/display/progressDisplay';
3939
import { InterpreterHelper } from '../../client/interpreter/helpers';
4040
import { InterpreterService } from '../../client/interpreter/interpreterService';
4141
import { registerTypes } from '../../client/interpreter/serviceRegistry';
@@ -68,7 +68,7 @@ suite('Interpreters - Service Registry', () => {
6868
[IInterpreterHelper, InterpreterHelper],
6969
[IInterpreterComparer, EnvironmentTypeComparer],
7070

71-
[IExtensionSingleActivationService, InterpreterLocatorProgressStatubarHandler],
71+
[IExtensionSingleActivationService, InterpreterLocatorProgressStatusBarHandler],
7272

7373
[IInterpreterAutoSelectionProxyService, InterpreterAutoSelectionProxyService],
7474
[IInterpreterAutoSelectionService, InterpreterAutoSelectionService],

0 commit comments

Comments
 (0)