Skip to content

Commit db6ed55

Browse files
committed
normalize idl name when matching asset
1 parent 404c0ac commit db6ed55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpt/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export class InterfacesUpdater extends WPTUpdater {
222222
const found = [];
223223
for (const mod of supported) {
224224
const idl = `${mod}.idl`;
225-
const asset = assets.find(asset => asset.name === idl);
225+
const asset = assets.find(asset => asset.name.toLowerCase() === idl.toLowerCase());
226226
if (asset) {
227227
found.push(asset);
228228
} else {

0 commit comments

Comments
 (0)