Skip to content

Commit 5ad0c9b

Browse files
committed
chore: fix typos in codebase
Signed-off-by: Maryam Tahhan <[email protected]>
1 parent 0ed85cd commit 5ad0c9b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

packages/backend/src/managers/playgroundV2Manager.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ test('delete conversation should delete the conversation', async () => {
590590
expect(webviewMock.postMessage).toHaveBeenCalled();
591591
});
592592

593-
test('creating a new playground with an existing name shoud fail', async () => {
593+
test('creating a new playground with an existing name should fail', async () => {
594594
vi.mocked(inferenceManagerMock.getServers).mockReturnValue([]);
595595
const manager = new PlaygroundV2Manager(
596596
webviewMock,

packages/backend/src/managers/recipes/BuilderManager.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('buildImages', () => {
8585
'Context configured does not exist.',
8686
);
8787
});
88-
test('setTaskState should be called with error if buildImage executon fails', async () => {
88+
test('setTaskState should be called with error if buildImage execution fails', async () => {
8989
vi.spyOn(fs, 'existsSync').mockReturnValue(true);
9090
vi.mocked(containerEngine.buildImage).mockRejectedValue('error');
9191
vi.mocked(containerEngine.listImages).mockRejectedValue([]);

packages/backend/src/studio-api-impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,14 +292,14 @@ export class StudioApiImpl implements StudioAPI {
292292
}
293293

294294
async navigateToResources(): Promise<void> {
295-
// navigateToResources is only vailable from desktop 1.10
295+
// navigateToResources is only available from desktop 1.10
296296
if (podmanDesktopApi.navigation.navigateToResources) {
297297
return podmanDesktopApi.navigation.navigateToResources();
298298
}
299299
}
300300

301301
async navigateToEditConnectionProvider(connectionName: string): Promise<void> {
302-
// navigateToEditProviderContainerConnection is only vailable from desktop 1.10
302+
// navigateToEditProviderContainerConnection is only available from desktop 1.10
303303
if (podmanDesktopApi.navigation.navigateToEditProviderContainerConnection) {
304304
const connection = getPodmanConnection(connectionName);
305305
return podmanDesktopApi.navigation.navigateToEditProviderContainerConnection(connection);

packages/backend/src/studio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export class Studio {
276276
this.#inferenceManager.init();
277277
this.#extensionContext.subscriptions.push(this.#inferenceManager);
278278

279-
/** The InstructLab tunning sessions manager */
279+
/** The InstructLab running sessions manager */
280280
this.#instructlabManager = new InstructlabManager();
281281

282282
/**

packages/backend/src/utils/JsonWatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class JsonWatcher<T> implements Disposable {
4343
this.#fileSystemWatcher.onDidDelete(this.onDidDelete.bind(this));
4444
this.#fileSystemWatcher.onDidCreate(this.onDidCreate.bind(this));
4545
} catch (err: unknown) {
46-
console.error(`unable to watch file ${this.path}, changes wont be detected.`, err);
46+
console.error(`unable to watch file ${this.path}, changes won't be detected.`, err);
4747
}
4848
this.requestUpdate();
4949
}

packages/frontend/src/lib/table/application/ColumnModel.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ test('display model port', async () => {
8181
expect(ports).toBeInTheDocument();
8282
});
8383

84-
test('display multpile model ports', async () => {
84+
test('display multiple model ports', async () => {
8585
const obj = {
8686
modelId: 'model1',
8787
modelPorts: [8080, 5000],

packages/frontend/src/pages/Playground.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function handleOnClick(): void {
199199
{#key conversation.messages.length}
200200
<SystemPromptBanner conversation={conversation} />
201201
{/key}
202-
<!-- show all message except the sytem prompt -->
202+
<!-- show all message except the system prompt -->
203203
<ul>
204204
{#each messages as message}
205205
<li>

0 commit comments

Comments
 (0)