Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

style(console): format

raullopez-sandbox0d4dfdcd1576
diff --git a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-matrix-migration.test.ts b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-matrix-migration.test.ts
index b5c89a297..ed6cdfa09 100644
--- a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-matrix-migration.test.ts
+++ b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-matrix-migration.test.ts
@@ -73,7 +73,10 @@ vi.mock('@main/core/workspaces/reconcile-workspaces', () => ({
}));
vi.mock('@main/core/switch-servers/auth', () => ({
passwordLogin: () =>
- Promise.resolve({ success: true, data: { id: 'u-1', name: 'Ada Lovelace', email: '[email protected]', role: 'admin' } }),
+ Promise.resolve({
+ success: true,
+ data: { id: 'u-1', name: 'Ada Lovelace', email: '[email protected]', role: 'admin' },
+ }),
}));
// Reaches the reachability store, and through it the database client.
vi.mock('@main/core/switch-servers/gateway-client', () => ({ updateMyName: vi.fn() }));
diff --git a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
index e02925184..f40b894b4 100644
--- a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
+++ b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
@@ -82,7 +82,10 @@ vi.mock('@main/core/workspaces/reconcile-workspaces', () => ({
}));
vi.mock('@main/core/switch-servers/auth', () => ({
passwordLogin: () =>
- Promise.resolve({ success: true, data: { id: 'u-1', name: 'Ada Lovelace', email: '[email protected]', role: 'admin' } }),
+ Promise.resolve({
+ success: true,
+ data: { id: 'u-1', name: 'Ada Lovelace', email: '[email protected]', role: 'admin' },
+ }),
}));
// Reaches the reachability store, and through it the database client.
vi.mock('@main/core/switch-servers/gateway-client', () => ({ updateMyName: vi.fn() }));
diff --git a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
index 3259c1b6f..5aa7e4e7d 100644
--- a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
+++ b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
@@ -1,10 +1,10 @@
import { passwordLogin } from '@main/core/switch-servers/auth';
+import { updateMyName } from '@main/core/switch-servers/gateway-client';
import {
assertManagedServerUrlFree,
ensureManagedServer,
setActiveServerId,
} from '@main/core/switch-servers/servers-store';
-import { updateMyName } from '@main/core/switch-servers/gateway-client';
import { reconcileServerWorkspaces } from '@main/core/workspaces/reconcile-workspaces';
import { log } from '@main/lib/logger';
import { RELEASE_REPO_OWNER } from '@shared/app-identity';