From 48f158215de64dcf78c4b1e8489aa965e703577d Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 4 Apr 2024 19:14:51 +0000 Subject: [PATCH] [ci] format --- packages/db/src/core/cli/commands/link/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/db/src/core/cli/commands/link/index.ts b/packages/db/src/core/cli/commands/link/index.ts index 42da563b0c97..9ac201e76415 100644 --- a/packages/db/src/core/cli/commands/link/index.ts +++ b/packages/db/src/core/cli/commands/link/index.ts @@ -16,7 +16,7 @@ export async function cmd() { console.error(MISSING_SESSION_ID_ERROR); process.exit(1); } - const getWorkspaceIdAsync = getWorkspaceId().catch(err => { + const getWorkspaceIdAsync = getWorkspaceId().catch((err) => { return err as Error; }); await promptBegin(); @@ -84,7 +84,7 @@ async function getWorkspaceId(): Promise { } function unwrapWorkspaceId(workspaceId: string | Error): string { - if(typeof workspaceId !== 'string') { + if (typeof workspaceId !== 'string') { console.error(workspaceId.message); process.exit(1); }