mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-07 00:44:49 +00:00
fix: address code review feedback for doctor health check
- Fix TypeScript error: extract host field for getDaemonHost call - Use async execFile + Promise.all for parallel provider checks - Load config once in runConfigChecks instead of twice
This commit is contained in:
@@ -83,7 +83,7 @@ export async function runDoctorCommand(
|
||||
|
||||
let report: DoctorReport
|
||||
if (remote) {
|
||||
const host = getDaemonHost(options)
|
||||
const host = getDaemonHost({ host: options.host as string | undefined })
|
||||
report = await fetchRemoteReport(host)
|
||||
} else {
|
||||
report = await runDoctorChecks()
|
||||
|
||||
Reference in New Issue
Block a user