Skip to content

Commit 6fa7245

Browse files
committed
fix lint
1 parent 97c2308 commit 6fa7245

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/b2c-dx-mcp/.mocharc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
]
1111
}
1212

13+

packages/b2c-dx-mcp/bin/run.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
node "%~dp0\run" %*
44

5+

packages/b2c-dx-mcp/src/server.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ export class B2CDxMcpServer extends McpServer {
6868
_extra: RequestHandlerExtra<ServerRequest, ServerNotification>,
6969
): Promise<CallToolResult> => {
7070
// TODO: Telemetry - Track timing and send TOOL_CALLED event
71-
// const startTime = Date.now();
71+
const startTime = Date.now();
7272
const result = await handler(args);
7373
// TODO: Telemetry - Send TOOL_CALLED event with { name, runtimeMs, isError: result.isError }
74-
const runtimeMs = Date.now() - startTime;
75-
void runtimeMs; // Silence unused variable until telemetry is implemented
74+
const _runtimeMs = Date.now() - startTime; // Prefixed with _ to indicate intentionally unused until telemetry is implemented
7675

7776
return result;
7877
};

0 commit comments

Comments
 (0)