Skip to content

Commit f752ee4

Browse files
committed
Use readonly constructor argument rather than explicit property
1 parent 8e43b19 commit f752ee4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/agent-evals/src/runner/gemini-cli-runner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,14 @@ export class GeminiCliRunner implements AgentTestRunner {
4545
private readonly cli: InteractiveCLI;
4646
private readonly telemetryPath: string;
4747
private readonly telemetryTimeout = 15000;
48-
readonly dirs: RunDirectories;
4948

5049
// Determines which tools to start from for this turn so we don't detect tool
5150
// calls from previous turns
5251
private turnToolIndex = 0;
5352

5453
constructor(
5554
private readonly testName: string,
56-
dirs: RunDirectories,
55+
readonly dirs: RunDirectories,
5756
toolMocks: ToolMockName[],
5857
) {
5958
console.debug(`Creating telemetry log: ${dirs.testDir}/telemetry.log`);
@@ -100,7 +99,6 @@ export class GeminiCliRunner implements AgentTestRunner {
10099

101100
this.writeGeminiInstallId(dirs.userDir);
102101

103-
this.dirs = dirs;
104102
this.cli = new InteractiveCLI("gemini", ["--yolo"], {
105103
cwd: dirs.runDir,
106104
readyPrompt: READY_PROMPT,

0 commit comments

Comments
 (0)