Skip to content

Commit

Permalink
Bad warning when an img lacks a src (#3136)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Mar 4, 2021
1 parent b23b659 commit b24831b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/check-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function checkImageWidths(doc, $, options, { rawContent }) {

if (!imgSrc) {
console.warn(
`In ${doc.url} there's an img tag without src (${$.html(img)})`
`In ${doc.mdn_url} there's an img tag without src (${$.html(img)})`
);
return;
}
Expand Down

0 comments on commit b24831b

Please sign in to comment.