Update packages/core/src/vitest-processes.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
gsxdsm
2026-06-03 13:48:02 -07:00
committed by GitHub
parent 614bec2126
commit 580c9005cc

View File

@@ -65,7 +65,7 @@ async function filterToNodeProcesses(
if (!Number.isFinite(pid) || pid <= 0) continue;
const comm = trimmed.slice(spaceIdx + 1).trim();
const executable = comm.split("/").pop() ?? comm;
if (executable === "node" || executable === "node.exe") {
if (executable === "node" || executable === "node.exe" || executable === "nodejs") {
nodePids.push(pid);
}
}