Fix TypeScript compilation errors in configure.wizard.ts

This commit is contained in:
Professor 2026-01-30 17:29:53 +05:30
parent 68825e5477
commit 0d916131f5

View File

@ -213,9 +213,9 @@ export async function runConfigureWizard(
const remoteUrl = baseConfig.gateway?.remote?.url?.trim() ?? "";
const remoteProbe = remoteUrl
? await probeGatewayReachable({
url: remoteUrl,
token: baseConfig.gateway?.remote?.token,
})
url: remoteUrl,
token: baseConfig.gateway?.remote?.token,
})
: null;
const mode = guardCancel(
@ -351,7 +351,7 @@ export async function runConfigureWizard(
}
if (selected.includes("hipocap")) {
nextConfig = await setupHipocap(nextConfig, runtime, prompter);
nextConfig = await setupHipocap(nextConfig, prompter);
}
await persistConfig();
@ -479,7 +479,7 @@ export async function runConfigureWizard(
}
if (choice === "hipocap") {
nextConfig = await setupHipocap(nextConfig, runtime, prompter);
nextConfig = await setupHipocap(nextConfig, prompter);
await persistConfig();
}