diff options
author | 2022-12-22 17:17:53 -0500 | |
---|---|---|
committer | 2022-12-22 17:17:53 -0500 | |
commit | 9674cf56c561af8f13def0266b0539507a80000d (patch) | |
tree | dd62beea5b61d89633eb430d947ed88730e458b4 | |
parent | d5c088911d3388fac02ca99378250eb5ef7a96e9 (diff) | |
download | astro-9674cf56c561af8f13def0266b0539507a80000d.tar.gz astro-9674cf56c561af8f13def0266b0539507a80000d.tar.zst astro-9674cf56c561af8f13def0266b0539507a80000d.zip |
[Content Collections] Stray console.log snuck in! (#5668)
* fix: stray console.log
* chore: changeset
-rw-r--r-- | .changeset/five-apes-heal.md | 5 | ||||
-rw-r--r-- | packages/markdown/remark/src/remark-content-rel-image-error.ts | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.changeset/five-apes-heal.md b/.changeset/five-apes-heal.md new file mode 100644 index 000000000..800f0c842 --- /dev/null +++ b/.changeset/five-apes-heal.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Remove stray `console.log` from content collections error message diff --git a/packages/markdown/remark/src/remark-content-rel-image-error.ts b/packages/markdown/remark/src/remark-content-rel-image-error.ts index 0704ebdd1..1a0870c22 100644 --- a/packages/markdown/remark/src/remark-content-rel-image-error.ts +++ b/packages/markdown/remark/src/remark-content-rel-image-error.ts @@ -15,7 +15,6 @@ export default function toRemarkContentRelImageError({ contentDir }: { contentDi const relImagePaths = new Set<string>(); visit(tree, 'image', function raiseError(node: Image) { - console.log(node.url); if (isRelativePath(node.url)) { relImagePaths.add(node.url); } |