Skip to content

Commit

Permalink
fix: linter issue (#260)
Browse files Browse the repository at this point in the history
* fix: linter issue

Signed-off-by: axel7083 <[email protected]>

* fix: linter type issue

Signed-off-by: axel7083 <[email protected]>

* fix: prettier

Signed-off-by: axel7083 <[email protected]>

---------

Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 authored Feb 9, 2024
1 parent 14a38ce commit d4c50ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions packages/backend/src/managers/applicationManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
***********************************************************************/
import { type MockInstance, describe, expect, test, vi, beforeEach } from 'vitest';
import type { ContainerAttachedInfo, ImageInfo, PodInfo } from './applicationManager';
import { ApplicationManager } from './applicationManager';
import { LABEL_RECIPE_ID, ApplicationManager } from './applicationManager';
import type { RecipeStatusRegistry } from '../registries/RecipeStatusRegistry';
import type { GitManager } from './gitManager';
import os from 'os';
Expand All @@ -33,7 +33,6 @@ import { goarch } from '../utils/arch';
import * as utils from '../utils/utils';
import type { Webview, TelemetryLogger } from '@podman-desktop/api';
import type { CatalogManager } from './catalogManager';
import { LABEL_RECIPE_ID } from '@shared/src/StudioAPI';

const mocks = vi.hoisted(() => {
return {
Expand Down
1 change: 0 additions & 1 deletion packages/backend/src/managers/applicationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import type { ModelsManager } from './modelsManager';
import { getPortsInfo } from '../utils/ports';
import { goarch } from '../utils/arch';
import { getDurationSecondsSince, isEndpointAlive, timeout } from '../utils/utils';
import { LABEL_RECIPE_ID } from '@shared/src/StudioAPI';

export const LABEL_RECIPE_ID = 'ai-studio-recipe-id';

Expand Down
2 changes: 0 additions & 2 deletions packages/shared/src/StudioAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ export abstract class StudioAPI {
abstract telemetryLogUsage(eventName: string, data?: Record<string, unknown | TelemetryTrustedValue>): Promise<void>;
abstract telemetryLogError(eventName: string, data?: Record<string, unknown | TelemetryTrustedValue>): Promise<void>;
}

export const LABEL_RECIPE_ID = 'ai-studio-recipe-id';

0 comments on commit d4c50ae

Please sign in to comment.