Skip to content

Commit 2751584

Browse files
Princesseuhastrobot-houston
authored andcommitted
[ci] format
1 parent 694918a commit 2751584

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/astro/src/assets/services/vendor/squoosh/image-pool.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { isMainThread } from 'node:worker_threads';
22
import { cpus } from 'os';
33
import { fileURLToPath } from 'url';
44
import type { OutputFormat } from '../../../types.js';
5-
import execOnce from './utils/execOnce.js';
6-
import WorkerPool from './utils/workerPool.js';
75
import { getModuleURL } from './emscripten-utils.js';
86
import type { Operation } from './image.js';
97
import * as impl from './impl.js';
8+
import execOnce from './utils/execOnce.js';
9+
import WorkerPool from './utils/workerPool.js';
1010

1111
const getWorker = execOnce(() => {
1212
return new WorkerPool(

packages/markdown/remark/src/remark-collect-images.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export default function toRemarkCollectImages(resolveImage: OptionalResolveImage
1616
if (imagePaths.size === 0) {
1717
vfile.data.imagePaths = [];
1818
return;
19-
} else if(resolveImage) {
19+
} else if (resolveImage) {
2020
const mapping = new Map<string, string>();
21-
for(const path of Array.from(imagePaths)) {
21+
for (const path of Array.from(imagePaths)) {
2222
const id = await resolveImage(path);
2323
mapping.set(path, id);
2424
}

0 commit comments

Comments
 (0)