fix arg passing

This commit is contained in:
Ashwin Bhat
2024-11-27 19:12:35 -05:00
parent f3f424f21e
commit 295ccac27e

View File

@@ -49,7 +49,7 @@ async function main() {
[ [
inspectorServerPath, inspectorServerPath,
...(command ? [`--env`, command] : []), ...(command ? [`--env`, command] : []),
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []), ...(mcpServerArgs ? [`--args=${mcpServerArgs.join(" ")}`] : []),
], ],
{ {
env: { ...process.env, PORT: SERVER_PORT }, env: { ...process.env, PORT: SERVER_PORT },