Skip to content

Commit 4f6c08d

Browse files
committed
lint
1 parent 65a6c01 commit 4f6c08d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

genaisrc/action.genai.mts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ if (stats.length)
148148
output.table(
149149
// filter out rows with no edits or generation
150150
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+
),
153153
);
154154

155155
async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
@@ -170,7 +170,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
170170
},
171171
},
172172
},
173-
{ applyGitIgnore: false }
173+
{ applyGitIgnore: false },
174174
);
175175
dbg(`found ${missingDocs.length} missing docs`);
176176

@@ -194,7 +194,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
194194
- Use docstring syntax (https://tsdoc.org/). do not wrap in markdown code section.
195195
196196
The full source of the file is in ${fileRef} for reference.`.role(
197-
"system"
197+
"system",
198198
);
199199
if (instructions) _.$`${instructions}`.role("system");
200200
},
@@ -203,7 +203,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
203203
responseType: "text",
204204
label: missingDoc.text()?.slice(0, 20) + "...",
205205
cache,
206-
}
206+
},
207207
);
208208
// if generation is successful, insert the docs
209209
fileStats.gen += res.usage?.total || 0;
@@ -232,7 +232,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: FileStats) {
232232
flexTokens,
233233
systemSafety: false,
234234
system: ["system.technical", "system.typescript"],
235-
}
235+
},
236236
);
237237
fileStats.judge += judge.usage?.total || 0;
238238
fileStats.judgeCost += judge.usage?.cost || 0;
@@ -275,7 +275,7 @@ rule:
275275
has:
276276
kind: "function_declaration"
277277
`,
278-
{ applyGitIgnore: false }
278+
{ applyGitIgnore: false },
279279
);
280280
dbg(`found ${matches.length} docs to update`);
281281
const edits = sg.changeset();
@@ -320,7 +320,7 @@ rule:
320320
temperature: 0.2,
321321
systemSafety: false,
322322
system: ["system.technical", "system.typescript"],
323-
}
323+
},
324324
);
325325
fileStats.gen += res.usage?.total || 0;
326326
fileStats.genCost += res.usage?.cost || 0;
@@ -353,7 +353,7 @@ rule:
353353
temperature: 0.2,
354354
systemSafety: false,
355355
system: ["system.technical", "system.typescript"],
356-
}
356+
},
357357
);
358358

359359
fileStats.judge += judge.usage?.total || 0;

0 commit comments

Comments
 (0)