Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev authored and astrobot-houston committed Mar 15, 2024
1 parent 5b48cc0 commit 8a80dbf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/sync/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { performance } from 'node:perf_hooks';
import { fileURLToPath } from 'node:url';
import { dim } from 'kleur/colors';
import { type HMRPayload, createServer } from 'vite';
import type { Arguments } from 'yargs-parser';
import type { AstroConfig, AstroInlineConfig, AstroSettings } from '../../@types/astro.js';
import { getPackage } from '../../cli/install-package.js';
import { createContentTypesGenerator } from '../../content/index.js';
import { globalContentConfigObserver } from '../../content/utils.js';
import { telemetry } from '../../events/index.js';
Expand All @@ -20,8 +22,6 @@ import { AstroError, AstroErrorData, createSafeError, isAstroError } from '../er
import type { Logger } from '../logger/core.js';
import { formatErrorMessage } from '../messages.js';
import { ensureProcessNodeEnv } from '../util.js';
import { getPackage } from '../../cli/install-package.js';
import type { Arguments } from 'yargs-parser';

export type ProcessExit = 0 | 1;

Expand Down
8 changes: 4 additions & 4 deletions packages/db/src/core/cli/commands/execute/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { existsSync } from 'node:fs';
import { LibsqlError } from '@libsql/client';
import type { AstroConfig } from 'astro';
import { green } from 'kleur/colors';
import type { Arguments } from 'yargs-parser';
import {
FILE_NOT_FOUND_ERROR,
MISSING_EXECUTE_PATH_ERROR,
EXEC_DEFAULT_EXPORT_ERROR,
EXEC_ERROR,
FILE_NOT_FOUND_ERROR,
MISSING_EXECUTE_PATH_ERROR,
} from '../../../errors.js';
import {
getLocalVirtualModContents,
Expand All @@ -14,8 +16,6 @@ import {
import { bundleFile, importBundledFile } from '../../../load-file.js';
import { getManagedAppTokenOrExit } from '../../../tokens.js';
import { type DBConfig } from '../../../types.js';
import { LibsqlError } from '@libsql/client';
import { green } from 'kleur/colors';

export async function cmd({
astroConfig,
Expand Down
4 changes: 2 additions & 2 deletions packages/db/src/core/integration/typegen.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { existsSync } from 'node:fs';
import { mkdir, writeFile } from 'node:fs/promises';
import { DB_TYPES_FILE, RUNTIME_IMPORT } from '../consts.js';
import type { DBTable, DBTables } from '../types.js';
import type { AstroConfig } from 'astro';
import { DB_TYPES_FILE, RUNTIME_IMPORT } from '../consts.js';
import { resolveDbConfig } from '../load-file.js';
import type { DBTable, DBTables } from '../types.js';

// Exported for use in Astro core CLI
export async function typegen(astroConfig: Pick<AstroConfig, 'root' | 'integrations'>) {
Expand Down

0 comments on commit 8a80dbf

Please sign in to comment.