Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sull authored and astrobot-houston committed Jul 25, 2022
1 parent e60d6d9 commit 2a13e43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/integrations/image/src/build/ssr.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs/promises';
import path from 'node:path';
import glob from 'tiny-glob';
import { fileURLToPath } from 'node:url';
import glob from 'tiny-glob';
import { ensureDir } from '../utils/paths.js';

async function globImages(dir: URL) {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/image/src/utils/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'node:fs/promises';
import sizeOf from 'image-size';
import fs from 'node:fs/promises';
import { ImageMetadata, InputFormat } from '../types.js';

export async function metadata(src: string): Promise<ImageMetadata | undefined> {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/image/src/vite-plugin-astro-image.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { AstroConfig } from 'astro';
import { pathToFileURL } from 'node:url';
import type { PluginContext } from 'rollup';
import slash from 'slash';
import { pathToFileURL } from 'node:url';
import type { Plugin, ResolvedConfig } from 'vite';
import type { IntegrationOptions } from './types.js';
import { metadata } from './utils/metadata.js';
Expand Down

0 comments on commit 2a13e43

Please sign in to comment.