fix(cli): accept null command in healthcheck fall-through helper (#20452)

This commit is contained in:
diegosouzapw
2026-11-19 19:10:23 -03:00
parent c79e87a395
commit 8afef56d24

View File

@@ -1232,7 +1232,7 @@ const listAlternateCandidates = async (
// #20452: a stale shim must not hide a working binary later on PATH.
const healthcheckWithFallthrough = async (
command: string | undefined,
command: string | null | undefined,
commandPath: string | null | undefined,
env: Record<string, string | undefined>,
healthTimeout: number