Skip to content

Commit 3bce15c

Browse files
committed
fix: correct process termination in waitForServerReady function
1 parent b1b4947 commit 3bce15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epicshop/mcp-dev/dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async function waitForServerReady({ process: childProcess, textMatch, name }) {
132132
}
133133

134134
const timeout = setTimeout(() => {
135-
process.kill()
135+
childProcess.kill()
136136
printAndReject(new Error(`${name} failed to start within 10 seconds`))
137137
}, 10_000)
138138

0 commit comments

Comments
 (0)