@@ -148,8 +148,8 @@ if (stats.length)
148
148
output . table (
149
149
// filter out rows with no edits or generation
150
150
stats . filter ( ( row ) =>
151
- Object . values ( row ) . some ( ( d ) => typeof d === "number" && d > 0 )
152
- )
151
+ Object . values ( row ) . some ( ( d ) => typeof d === "number" && d > 0 ) ,
152
+ ) ,
153
153
) ;
154
154
155
155
async function generateDocs ( file : WorkspaceFile , fileStats : FileStats ) {
@@ -170,7 +170,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
170
170
} ,
171
171
} ,
172
172
} ,
173
- { applyGitIgnore : false }
173
+ { applyGitIgnore : false } ,
174
174
) ;
175
175
dbg ( `found ${ missingDocs . length } missing docs` ) ;
176
176
@@ -194,7 +194,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
194
194
- Use docstring syntax (https://tsdoc.org/). do not wrap in markdown code section.
195
195
196
196
The full source of the file is in ${ fileRef } for reference.` . role (
197
- "system"
197
+ "system" ,
198
198
) ;
199
199
if ( instructions ) _ . $ `${ instructions } ` . role ( "system" ) ;
200
200
} ,
@@ -203,7 +203,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
203
203
responseType : "text" ,
204
204
label : missingDoc . text ( ) ?. slice ( 0 , 20 ) + "..." ,
205
205
cache,
206
- }
206
+ } ,
207
207
) ;
208
208
// if generation is successful, insert the docs
209
209
fileStats . gen += res . usage ?. total || 0 ;
@@ -232,7 +232,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
232
232
flexTokens,
233
233
systemSafety : false ,
234
234
system : [ "system.technical" , "system.typescript" ] ,
235
- }
235
+ } ,
236
236
) ;
237
237
fileStats . judge += judge . usage ?. total || 0 ;
238
238
fileStats . judgeCost += judge . usage ?. cost || 0 ;
@@ -275,7 +275,7 @@ rule:
275
275
has:
276
276
kind: "function_declaration"
277
277
` ,
278
- { applyGitIgnore : false }
278
+ { applyGitIgnore : false } ,
279
279
) ;
280
280
dbg ( `found ${ matches . length } docs to update` ) ;
281
281
const edits = sg . changeset ( ) ;
@@ -320,7 +320,7 @@ rule:
320
320
temperature : 0.2 ,
321
321
systemSafety : false ,
322
322
system : [ "system.technical" , "system.typescript" ] ,
323
- }
323
+ } ,
324
324
) ;
325
325
fileStats . gen += res . usage ?. total || 0 ;
326
326
fileStats . genCost += res . usage ?. cost || 0 ;
@@ -353,7 +353,7 @@ rule:
353
353
temperature : 0.2 ,
354
354
systemSafety : false ,
355
355
system : [ "system.technical" , "system.typescript" ] ,
356
- }
356
+ } ,
357
357
) ;
358
358
359
359
fileStats . judge += judge . usage ?. total || 0 ;
0 commit comments