[Content Collections] Stray console.log snuck in! (#5668)
* fix: stray console.log * chore: changeset
This commit is contained in:
parent
d5c088911d
commit
9674cf56c5
2 changed files with 5 additions and 1 deletions
5
.changeset/five-apes-heal.md
Normal file
5
.changeset/five-apes-heal.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Remove stray `console.log` from content collections error message
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue