From db6ed552e7a52b54969e128e34adc3cb03f87c73 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sun, 4 May 2025 11:06:58 +0200 Subject: [PATCH] normalize idl name when matching asset --- lib/wpt/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wpt/index.js b/lib/wpt/index.js index 601b207b..1e55a371 100644 --- a/lib/wpt/index.js +++ b/lib/wpt/index.js @@ -222,7 +222,7 @@ export class InterfacesUpdater extends WPTUpdater { const found = []; for (const mod of supported) { const idl = `${mod}.idl`; - const asset = assets.find(asset => asset.name === idl); + const asset = assets.find(asset => asset.name.toLowerCase() === idl.toLowerCase()); if (asset) { found.push(asset); } else {