Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Oct 13, 2023
1 parent f8de198 commit 7c45851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/core/errors/dev/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { fileURLToPath } from 'node:url';
import { codeToHtml } from 'shikiji';
import type { ErrorPayload } from 'vite';
import type { ModuleLoader } from '../../module-loader/index.js';
import { replaceCssVariables } from '../../shiki.js';
import { FailedToLoadModuleSSR, InvalidGlob, MdxIntegrationMissingError } from '../errors-data.js';
import { AstroError, type ErrorWithMetadata } from '../errors.js';
import { createSafeError } from '../utils.js';
import type { SSRLoadedRenderer } from './../../../@types/astro.js';
import { getDocsForError, renderErrorMarkdown } from './utils.js';
import { replaceCssVariables } from '../../shiki.js';

export function enhanceViteSSRError({
error,
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/core/shiki.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Highlighter, getHighlighter } from 'shikiji';
import { getHighlighter, type Highlighter } from 'shikiji';

type HighlighterOptions = NonNullable<Parameters<typeof getHighlighter>[0]>;

Expand Down

0 comments on commit 7c45851

Please sign in to comment.