Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh authored and astrobot-houston committed Mar 7, 2023
1 parent 694918a commit 2751584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { isMainThread } from 'node:worker_threads';
import { cpus } from 'os';
import { fileURLToPath } from 'url';
import type { OutputFormat } from '../../../types.js';
import execOnce from './utils/execOnce.js';
import WorkerPool from './utils/workerPool.js';
import { getModuleURL } from './emscripten-utils.js';
import type { Operation } from './image.js';
import * as impl from './impl.js';
import execOnce from './utils/execOnce.js';
import WorkerPool from './utils/workerPool.js';

const getWorker = execOnce(() => {
return new WorkerPool(
Expand Down
4 changes: 2 additions & 2 deletions packages/markdown/remark/src/remark-collect-images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export default function toRemarkCollectImages(resolveImage: OptionalResolveImage
if (imagePaths.size === 0) {
vfile.data.imagePaths = [];
return;
} else if(resolveImage) {
} else if (resolveImage) {
const mapping = new Map<string, string>();
for(const path of Array.from(imagePaths)) {
for (const path of Array.from(imagePaths)) {
const id = await resolveImage(path);
mapping.set(path, id);
}
Expand Down

0 comments on commit 2751584

Please sign in to comment.