Fix TypeScript compilation errors in configure.wizard.ts
This commit is contained in:
parent
68825e5477
commit
0d916131f5
@ -213,9 +213,9 @@ export async function runConfigureWizard(
|
|||||||
const remoteUrl = baseConfig.gateway?.remote?.url?.trim() ?? "";
|
const remoteUrl = baseConfig.gateway?.remote?.url?.trim() ?? "";
|
||||||
const remoteProbe = remoteUrl
|
const remoteProbe = remoteUrl
|
||||||
? await probeGatewayReachable({
|
? await probeGatewayReachable({
|
||||||
url: remoteUrl,
|
url: remoteUrl,
|
||||||
token: baseConfig.gateway?.remote?.token,
|
token: baseConfig.gateway?.remote?.token,
|
||||||
})
|
})
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
const mode = guardCancel(
|
const mode = guardCancel(
|
||||||
@ -351,7 +351,7 @@ export async function runConfigureWizard(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (selected.includes("hipocap")) {
|
if (selected.includes("hipocap")) {
|
||||||
nextConfig = await setupHipocap(nextConfig, runtime, prompter);
|
nextConfig = await setupHipocap(nextConfig, prompter);
|
||||||
}
|
}
|
||||||
|
|
||||||
await persistConfig();
|
await persistConfig();
|
||||||
@ -479,7 +479,7 @@ export async function runConfigureWizard(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (choice === "hipocap") {
|
if (choice === "hipocap") {
|
||||||
nextConfig = await setupHipocap(nextConfig, runtime, prompter);
|
nextConfig = await setupHipocap(nextConfig, prompter);
|
||||||
await persistConfig();
|
await persistConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user