mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 15:04:16 -07:00
Use parameter properties where possible. (#242)
This commit is contained in:
@@ -41,9 +41,7 @@ export class WriteFileTool extends BaseTool<WriteFileToolParams, ToolResult> {
|
||||
static readonly Name: string = 'write_file';
|
||||
private shouldAlwaysWrite = false;
|
||||
|
||||
private readonly rootDirectory: string;
|
||||
|
||||
constructor(rootDirectory: string) {
|
||||
constructor(private readonly rootDirectory: string) {
|
||||
super(
|
||||
WriteFileTool.Name,
|
||||
'WriteFile',
|
||||
|
||||
Reference in New Issue
Block a user