summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/tools/glob.ts')
-rw-r--r--packages/server/src/tools/glob.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/server/src/tools/glob.ts b/packages/server/src/tools/glob.ts
index f51456c3..d9d91c7a 100644
--- a/packages/server/src/tools/glob.ts
+++ b/packages/server/src/tools/glob.ts
@@ -33,15 +33,10 @@ export class GlobTool extends BaseTool<GlobToolParams, ToolResult> {
static readonly Name = 'glob'; // Keep static name
/**
- * The root directory that this tool is grounded in.
- */
- private rootDirectory: string;
-
- /**
* Creates a new instance of the GlobLogic
* @param rootDirectory Root directory to ground this tool in.
*/
- constructor(rootDirectory: string) {
+ constructor(private rootDirectory: string) {
super(
GlobTool.Name,
'FindFiles', // Display name handled by CLI wrapper