Skip to content

Commit 6dc6719

Browse files
committed
fix: drop multiline-ts
1 parent 0f034f5 commit 6dc6719

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"@modelcontextprotocol/sdk": "^1.6.0",
2626
"eventsource": "^3.0.5",
2727
"fastmcp": "^1.18.0",
28-
"multiline-ts": "^4.0.1",
2928
"yargs": "^17.7.2"
3029
},
3130
"repository": {

pnpm-lock.yaml

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bin/mcp-proxy.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
88
import { proxyServer, startSSEServer } from "../MCPProxy.js";
99
import { EventSource } from "eventsource";
1010
import { setTimeout } from "node:timers/promises";
11-
import multiline from 'multiline-ts';
1211

1312
if (!("EventSource" in global)) {
1413
// @ts-expect-error - figure out how to use --experimental-eventsource with vitest
@@ -81,14 +80,14 @@ try {
8180

8281
console.info('connected to the MCP server');
8382
} catch (error) {
84-
console.error(multiline`
85-
could not connect to the MCP server
83+
console.error(`
84+
could not connect to the MCP server
8685
87-
--- error ---
88-
${String(error)}
86+
--- error ---
87+
${String(error)}
8988
90-
--- stderr output ---
91-
${stderrOutput}
89+
--- stderr output ---
90+
${stderrOutput}
9291
`);
9392

9493
await setTimeout(1000);

0 commit comments

Comments
 (0)