From 10c6fa26c8d2e3b9acd5083900d865d172f7c19a Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 4 Mar 2021 13:02:38 -0500 Subject: [PATCH] Bad warning when an `img` lacks a `src` Fixes #3135 --- build/check-images.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/check-images.js b/build/check-images.js index 2105ebd52227..46946c23cdd1 100644 --- a/build/check-images.js +++ b/build/check-images.js @@ -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; }