Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Dec 11, 2024
1 parent 618de28 commit dff04a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/db/src/core/cli/commands/execute/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { existsSync } from 'node:fs';
import type { AstroConfig } from 'astro';
import { green } from 'kleur/colors';
import type { Arguments } from 'yargs-parser';
import { isDbError } from '../../../../runtime/utils.js';
import {
EXEC_DEFAULT_EXPORT_ERROR,
EXEC_ERROR,
Expand All @@ -15,7 +16,6 @@ import {
import { bundleFile, importBundledFile } from '../../../load-file.js';
import type { DBConfig } from '../../../types.js';
import { getManagedRemoteToken } from '../../../utils.js';
import { isDbError } from '../../../../runtime/utils.js';

export async function cmd({
astroConfig,
Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/runtime/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class DetailedLibsqlError extends LibsqlError {
}

export function isDbError(err: unknown): err is LibsqlError {
return err instanceof LibsqlError || (err instanceof Error && (err as any).libsqlError === true)
return err instanceof LibsqlError || (err instanceof Error && (err as any).libsqlError === true);
}

function slash(path: string) {
Expand Down

0 comments on commit dff04a4

Please sign in to comment.