File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 212
212
},
213
213
{
214
214
"url" : " https://streams.spec.whatwg.org/" ,
215
- "title" : " Streams"
215
+ "title" : " Streams" ,
216
+ "local" : true
216
217
},
217
218
{
218
219
"url" : " https://svgwg.org/svg2-draft/types.html" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ interface IDLSource {
9
9
url : string ;
10
10
title : string ;
11
11
deprecated ?: boolean ;
12
+ local ?: boolean ;
12
13
}
13
14
14
15
const idlSelector = [
@@ -23,6 +24,9 @@ async function fetchIDLs(filter: string[]) {
23
24
const idlSources = ( require ( "../inputfiles/idlSources.json" ) as IDLSource [ ] )
24
25
. filter ( source => ! filter . length || filter . includes ( source . title ) ) ;
25
26
await Promise . all ( idlSources . map ( async source => {
27
+ if ( source . local ) {
28
+ return ;
29
+ }
26
30
const { idl, comments } = await fetchIDL ( source ) ;
27
31
fs . writeFileSync ( path . join ( __dirname , `../inputfiles/idl/${ source . title } .widl` ) , idl + '\n' ) ;
28
32
if ( comments ) {
You can’t perform that action at this time.
0 commit comments