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 Aug 2, 2024
1 parent 69d54b4 commit d052428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions packages/astro/src/core/build/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,7 @@ export function getPageData(
* @param internals Build Internals with all the pages
* @param component path to the component, used to identify related pages
*/
function getPagesDatasByComponent(
internals: BuildInternals,
component: string
): PageBuildData[] {
function getPagesDatasByComponent(internals: BuildInternals, component: string): PageBuildData[] {
const pageDatas: PageBuildData[] = [];
internals.pagesByKeys.forEach((pageData) => {
if (component === pageData.component) pageDatas.push(pageData);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BuildOptions, Plugin as VitePlugin, Rollup } from 'vite';
import type { BuildOptions, Rollup, Plugin as VitePlugin } from 'vite';
import type { AstroSettings } from '../../../@types/astro.js';
import { viteID } from '../../util.js';
import type { BuildInternals } from '../internal.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/core-image.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import assert from 'node:assert/strict';
import { basename } from 'node:path';
import { Writable } from 'node:stream';
import { after, before, describe, it } from 'node:test';
import { removeDir } from '@astrojs/internal-helpers/fs';
import * as cheerio from 'cheerio';
import parseSrcset from 'parse-srcset';
import { removeDir } from '@astrojs/internal-helpers/fs';
import { Logger } from '../dist/core/logger/core.js';
import testAdapter from './test-adapter.js';
import { testImageService } from './test-image-service.js';
Expand Down

0 comments on commit d052428

Please sign in to comment.