File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ export interface IngestStats {
7272
7373export async function ingestSchemaSet ( opts : IngestSchemaSetOptions ) : Promise < IngestStats > {
7474 const log = opts . verbose ? ( msg : string ) => console . log ( msg ) : ( ) => { } ;
75- log ( `[xsd:ingest] parsing schemas from ${ opts . schemaDir } (entrypoints: ${ opts . entrypoints . join ( ", " ) } )...` ) ;
75+ log (
76+ `[xsd:ingest] parsing schemas from ${ opts . schemaDir } (entrypoints: ${ opts . entrypoints . join ( ", " ) } )...` ,
77+ ) ;
7678 const parseResult = await parseSchemaSet ( {
7779 schemaDir : opts . schemaDir ,
7880 entrypoints : opts . entrypoints ,
@@ -703,7 +705,11 @@ function parseMaxOccurs(raw: string | undefined): number | null {
703705// to stay under the limit for the widest row we send (xsd_attr_edges, 9 cols).
704706const BATCH_CHUNK = 500 ;
705707
706- async function inChunks < T > ( items : T [ ] , size : number , fn : ( chunk : T [ ] ) => Promise < void > ) : Promise < void > {
708+ async function inChunks < T > (
709+ items : T [ ] ,
710+ size : number ,
711+ fn : ( chunk : T [ ] ) => Promise < void > ,
712+ ) : Promise < void > {
707713 for ( let i = 0 ; i < items . length ; i += size ) {
708714 await fn ( items . slice ( i , i + size ) ) ;
709715 }
You can’t perform that action at this time.
0 commit comments