Skip to content

Commit 1978224

Browse files
authored
Merge branch 'main' into fix/fastmcp-union-types
2 parents fda879c + aa6a98a commit 1978224

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/bin/start.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ async function startProdServer(serverOptions) {
9191
"node",
9292
[
9393
inspectorServerPath,
94-
command ? `--command=${command}` : "",
95-
mcpServerArgs && mcpServerArgs.length > 0
96-
? `--args=${mcpServerArgs.join(" ")}`
97-
: "",
94+
...(command ? [`--command=${command}`] : []),
95+
...(mcpServerArgs && mcpServerArgs.length > 0
96+
? [`--args=${mcpServerArgs.join(" ")}`]
97+
: []),
9898
],
9999
{
100100
env: {

0 commit comments

Comments
 (0)