diff options
| author | Jacob Richman <[email protected]> | 2025-05-02 09:31:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-02 09:31:18 -0700 |
| commit | 539ab947a49b0351759df5192ed44f17d217b2f1 (patch) | |
| tree | eb45ee25f24077745456215cb7e9578d79983404 /packages/server/src/tools/ls.ts | |
| parent | a7679db6e99f971306bc4b27c603e93bc67ac254 (diff) | |
Use parameter properties where possible. (#242)
Diffstat (limited to 'packages/server/src/tools/ls.ts')
| -rw-r--r-- | packages/server/src/tools/ls.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/server/src/tools/ls.ts b/packages/server/src/tools/ls.ts index 628daad5..01da5121 100644 --- a/packages/server/src/tools/ls.ts +++ b/packages/server/src/tools/ls.ts @@ -62,16 +62,10 @@ export class LSTool extends BaseTool<LSToolParams, ToolResult> { static readonly Name = 'list_directory'; /** - * The root directory that this tool is grounded in. - * All path operations will be restricted to this directory. - */ - private rootDirectory: string; - - /** * Creates a new instance of the LSLogic * @param rootDirectory Root directory to ground this tool in. All operations will be restricted to this directory. */ - constructor(rootDirectory: string) { + constructor(private rootDirectory: string) { super( LSTool.Name, 'ReadFolder', |
