diff options
author | 2023-03-07 15:14:15 +0000 | |
---|---|---|
committer | 2023-03-07 15:14:15 +0000 | |
commit | 27515843873ca47d56d30c7fcefedaf5cb2e5208 (patch) | |
tree | 7daa8cb438b7978f9ec071dbb7652fc283d534e6 /packages/markdown/remark/src | |
parent | 694918a56b01104831296be0c25456135a63c784 (diff) | |
download | astro-27515843873ca47d56d30c7fcefedaf5cb2e5208.tar.gz astro-27515843873ca47d56d30c7fcefedaf5cb2e5208.tar.zst astro-27515843873ca47d56d30c7fcefedaf5cb2e5208.zip |
[ci] format
Diffstat (limited to 'packages/markdown/remark/src')
-rw-r--r-- | packages/markdown/remark/src/remark-collect-images.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/markdown/remark/src/remark-collect-images.ts b/packages/markdown/remark/src/remark-collect-images.ts index a9e769429..bb6a6ddb0 100644 --- a/packages/markdown/remark/src/remark-collect-images.ts +++ b/packages/markdown/remark/src/remark-collect-images.ts @@ -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); } |