Skip to content

Commit 03cd9fc

Browse files
committed
fix: resolve fs import issue in mcp-logger.ts
1 parent eeb8f9f commit 03cd9fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/mcp-logger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { logger } from "./config";
2+
import fs from 'fs';
3+
import path from 'path';
24

35
/**
46
* Utility to help debug MCP protocol issues
@@ -31,8 +33,6 @@ export function initMcpSafeLogging(): void {
3133
// Instead, we'll use a custom file logger implementation
3234

3335
// Create logs directory if it doesn't exist
34-
import fs from 'fs';
35-
import path from 'path';
3636
const logsDir = path.join(process.cwd(), 'logs');
3737

3838
try {

0 commit comments

Comments
 (0)