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(); visit(tree, 'image', function raiseError(node: Image) { - console.log(node.url); if (isRelativePath(node.url)) { relImagePaths.add(node.url); }