From 93474835b102d26fb52ffb0d68ec05e3558a4e83 Mon Sep 17 00:00:00 2001 From: Jordi Enric Date: Wed, 15 Apr 2026 11:29:20 +0200 Subject: [PATCH] chore(studio): format LogicalBackupCliInstructions files Co-Authored-By: Claude Opus 4.6 --- .../ProjectLayout/LogicalBackupCliInstructions.tsx | 10 +++++----- .../tests/unit/LogicalBackupCliInstructions.test.ts | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/studio/components/layouts/ProjectLayout/LogicalBackupCliInstructions.tsx b/apps/studio/components/layouts/ProjectLayout/LogicalBackupCliInstructions.tsx index e1c4925ef91..bae99f9a04c 100644 --- a/apps/studio/components/layouts/ProjectLayout/LogicalBackupCliInstructions.tsx +++ b/apps/studio/components/layouts/ProjectLayout/LogicalBackupCliInstructions.tsx @@ -5,17 +5,17 @@ import { cn } from 'ui' import { CodeBlock } from 'ui-patterns/CodeBlock' import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader' +import { + buildDirectPostgresConnectionUri, + buildLogicalBackupShellScript, + DB_PASSWORD_PLACEHOLDER, +} from './LogicalBackupCliInstructions.utils' import { ButtonTooltip } from '@/components/ui/ButtonTooltip' import { InlineLink } from '@/components/ui/InlineLink' import { useProjectSettingsV2Query } from '@/data/config/project-settings-v2-query' import { useAsyncCheckPermissions } from '@/hooks/misc/useCheckPermissions' import { useSelectedProjectQuery } from '@/hooks/misc/useSelectedProject' import { DOCS_URL } from '@/lib/constants' -import { - DB_PASSWORD_PLACEHOLDER, - buildDirectPostgresConnectionUri, - buildLogicalBackupShellScript, -} from './LogicalBackupCliInstructions.utils' export type LogicalBackupCliInstructionsProps = { enabled?: boolean diff --git a/apps/studio/tests/unit/LogicalBackupCliInstructions.test.ts b/apps/studio/tests/unit/LogicalBackupCliInstructions.test.ts index b07576ffd57..e2f0444f007 100644 --- a/apps/studio/tests/unit/LogicalBackupCliInstructions.test.ts +++ b/apps/studio/tests/unit/LogicalBackupCliInstructions.test.ts @@ -1,8 +1,9 @@ -import { describe, it, expect } from 'vitest' +import { describe, expect, it } from 'vitest' + import { - DB_PASSWORD_PLACEHOLDER, buildDirectPostgresConnectionUri, buildLogicalBackupShellScript, + DB_PASSWORD_PLACEHOLDER, } from '../../components/layouts/ProjectLayout/LogicalBackupCliInstructions.utils' describe('buildDirectPostgresConnectionUri', () => {