Skip to content

Commit

Permalink
git-node: update dom.idl and html.idl (#418)
Browse files Browse the repository at this point in the history
These are now needed by the WPT idl harness
  • Loading branch information
Alicia Lopez committed May 13, 2020
1 parent 56d1d34 commit 9643904
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/git/wpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
Expand Down

0 comments on commit 9643904

Please sign in to comment.