From ae1f33fb44bf1bd7d56028e7f8cc863f6ce31d23 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Tue, 12 May 2020 19:54:08 +0800 Subject: [PATCH] git-node: update dom.idl and html.idl These are now needed by the WPT idl harness --- components/git/wpt.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/git/wpt.js b/components/git/wpt.js index 7c09cf59..f6e648a0 100644 --- a/components/git/wpt.js +++ b/components/git/wpt.js @@ -43,10 +43,14 @@ async function main(argv) { const updaters = []; const statusFolder = path.join(nodedir, 'test', 'wpt', 'status'); - let supported = []; + let supported = [ + 'dom', + 'html' + ]; if (fs.existsSync(statusFolder)) { const jsons = fs.readdirSync(statusFolder); - supported = jsons.map(item => item.replace('.json', '')); + supported = supported.concat( + jsons.map(item => item.replace('.json', ''))); } else { cli.warn(`Please create the status JSON files in ${statusFolder}`); }