@@ -93,7 +93,8 @@ interface InitWithConfigStatusReport extends InitStatusReport {
93
93
trap_cache_download_size_bytes : number ;
94
94
/** Time taken to download TRAP caches, in milliseconds. */
95
95
trap_cache_download_duration_ms : number ;
96
- /** Stringified JSON array of registry configuration objects, from the 'registries' config field or workflow input. **/
96
+ /** Stringified JSON array of registry configuration objects, from the 'registries' config field
97
+ or workflow input. **/
97
98
registries : string ;
98
99
/** Stringified JSON object representing a query-filters, from the 'query-filters' config field. **/
99
100
query_filters : string ;
@@ -181,8 +182,10 @@ async function sendCompletedStatusReport(
181
182
}
182
183
183
184
let packs : Record < string , string [ ] > = { } ;
184
- if ( ( config . augmentationProperties . packsInputCombines || ! config . augmentationProperties . packsInput )
185
- && config . originalUserInput . packs
185
+ if (
186
+ ( config . augmentationProperties . packsInputCombines ||
187
+ ! config . augmentationProperties . packsInput ) &&
188
+ config . originalUserInput . packs
186
189
) {
187
190
// If it is an array, then assume there is only a single language being analyzed.
188
191
if ( Array . isArray ( config . originalUserInput . packs ) ) {
@@ -194,7 +197,9 @@ async function sendCompletedStatusReport(
194
197
195
198
if ( config . augmentationProperties . packsInput ) {
196
199
packs [ config . languages [ 0 ] ] ??= [ ] ;
197
- packs [ config . languages [ 0 ] ] . push ( ...config . augmentationProperties . packsInput ) ;
200
+ packs [ config . languages [ 0 ] ] . push (
201
+ ...config . augmentationProperties . packsInput ,
202
+ ) ;
198
203
}
199
204
200
205
// Append fields that are dependent on `config`
@@ -211,7 +216,11 @@ async function sendCompletedStatusReport(
211
216
) ,
212
217
trap_cache_download_duration_ms : Math . round ( config . trapCacheDownloadTime ) ,
213
218
query_filters : JSON . stringify ( config . originalUserInput [ "query-filters" ] ) ,
214
- registries : JSON . stringify ( configUtils . parseRegistriesWithoutCredentials ( getOptionalInput ( "registries" ) ) ) ,
219
+ registries : JSON . stringify (
220
+ configUtils . parseRegistriesWithoutCredentials (
221
+ getOptionalInput ( "registries" ) ,
222
+ ) ,
223
+ ) ,
215
224
} ;
216
225
await sendStatusReport ( {
217
226
...initWithConfigStatusReport ,
0 commit comments