Keep provider diagnostics useful when discovery is slow (#1724)
This commit is contained in:
@@ -70,6 +70,9 @@ async function findFirstProbeable(
|
||||
continue;
|
||||
}
|
||||
seen.add(candidate);
|
||||
if (!options.exists(candidate)) {
|
||||
continue;
|
||||
}
|
||||
if (await options.probeExecutable(candidate, options.probeTimeoutMs)) {
|
||||
return candidate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user