@@ -67,15 +67,15 @@ export default class Entries {
6767 this . fix = fix ?? false ;
6868 this . ctSchema = ctSchema ;
6969 this . gfSchema = gfSchema ;
70- this . moduleName = this . validateModules ( moduleName ! , this . config . moduleConfig ) ;
70+ this . moduleName = this . validateModules ( moduleName ! , this . config . moduleConfig ) ;
7171 this . fileName = config . moduleConfig [ this . moduleName ] . fileName ;
7272 this . folderPath = resolve ( sanitizePath ( config . basePath ) , sanitizePath ( config . moduleConfig . entries . dirName ) ) ;
7373 }
7474
75- validateModules ( moduleName :keyof typeof auditConfig . moduleConfig , moduleConfig : Record < string , unknown > ) :keyof typeof auditConfig . moduleConfig {
76- if ( Object . keys ( moduleConfig ) . includes ( moduleName ) ) {
75+ validateModules ( moduleName : keyof typeof auditConfig . moduleConfig , moduleConfig : Record < string , unknown > ) : keyof typeof auditConfig . moduleConfig {
76+ if ( Object . keys ( moduleConfig ) . includes ( moduleName ) ) {
7777 return moduleName ;
78- }
78+ }
7979 return 'entries'
8080 }
8181
@@ -200,15 +200,15 @@ export default class Entries {
200200 async fixPrerequisiteData ( ) {
201201 this . ctSchema = ( await new ContentType ( {
202202 fix : true ,
203- log : ( ) => { } ,
203+ log : ( ) => { } ,
204204 config : this . config ,
205205 moduleName : 'content-types' ,
206206 ctSchema : this . ctSchema ,
207207 gfSchema : this . gfSchema ,
208208 } ) . run ( true ) ) as ContentTypeStruct [ ] ;
209209 this . gfSchema = ( await new GlobalField ( {
210210 fix : true ,
211- log : ( ) => { } ,
211+ log : ( ) => { } ,
212212 config : this . config ,
213213 moduleName : 'global-fields' ,
214214 ctSchema : this . ctSchema ,
@@ -221,7 +221,7 @@ export default class Entries {
221221 if ( existsSync ( extensionPath ) ) {
222222 try {
223223 this . extensions = Object . keys ( JSON . parse ( readFileSync ( extensionPath , 'utf8' ) ) ) ;
224- } catch ( error ) { }
224+ } catch ( error ) { }
225225 }
226226
227227 if ( existsSync ( marketplacePath ) ) {
@@ -234,7 +234,7 @@ export default class Entries {
234234 ) as string [ ] ;
235235 this . extensions . push ( ...metaData ) ;
236236 }
237- } catch ( error ) { }
237+ } catch ( error ) { }
238238 }
239239 }
240240
@@ -416,19 +416,19 @@ export default class Entries {
416416
417417 return missingRefs . length
418418 ? [
419- {
420- tree,
421- data_type,
422- missingRefs,
423- display_name,
424- ct_uid : this . currentUid ,
425- name : this . currentTitle ,
426- treeStr : tree
427- . map ( ( { name } ) => name )
428- . filter ( ( val ) => val )
429- . join ( ' ➜ ' ) ,
430- } ,
431- ]
419+ {
420+ tree,
421+ data_type,
422+ missingRefs,
423+ display_name,
424+ ct_uid : this . currentUid ,
425+ name : this . currentTitle ,
426+ treeStr : tree
427+ . map ( ( { name } ) => name )
428+ . filter ( ( val ) => val )
429+ . join ( ' ➜ ' ) ,
430+ } ,
431+ ]
432432 : [ ] ;
433433 }
434434
@@ -588,19 +588,19 @@ export default class Entries {
588588
589589 return missingRefs . length
590590 ? [
591- {
592- tree,
593- data_type,
594- missingRefs,
595- display_name,
596- uid : this . currentUid ,
597- name : this . currentTitle ,
598- treeStr : tree
599- . map ( ( { name } ) => name )
600- . filter ( ( val ) => val )
601- . join ( ' ➜ ' ) ,
602- } ,
603- ]
591+ {
592+ tree,
593+ data_type,
594+ missingRefs,
595+ display_name,
596+ uid : this . currentUid ,
597+ name : this . currentTitle ,
598+ treeStr : tree
599+ . map ( ( { name } ) => name )
600+ . filter ( ( val ) => val )
601+ . join ( ' ➜ ' ) ,
602+ } ,
603+ ]
604604 : [ ] ;
605605 }
606606
0 commit comments