From c9a11112757f8184781639ac0db129a42fa22859 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 11 Mar 2024 19:33:26 +0000 Subject: [PATCH] [ci] format --- packages/db/src/core/cli/commands/push/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/db/src/core/cli/commands/push/index.ts b/packages/db/src/core/cli/commands/push/index.ts index 738eb877f2..d4dd9c5151 100644 --- a/packages/db/src/core/cli/commands/push/index.ts +++ b/packages/db/src/core/cli/commands/push/index.ts @@ -94,9 +94,7 @@ async function pushSchema({ console.error(await response.text()); throw new Error(`/db/push fetch failed: ${response.status} ${response.statusText}`); } - const result = (await response.json()) as - | { success: false; } - | { success: true; }; + const result = (await response.json()) as { success: false } | { success: true }; if (!result.success) { console.error(`${url.toString()} unsuccessful`); console.error(await response.text());