mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-22 06:32:00 +00:00
refactor: simplify configure wizard prompt values
This commit is contained in:
@@ -465,7 +465,7 @@ export async function runConfigureWizard(
|
||||
runtime,
|
||||
);
|
||||
workspaceDir = resolveUserPath(
|
||||
normalizeOptionalString(String(workspaceInput ?? "")) || DEFAULT_WORKSPACE,
|
||||
normalizeOptionalString(workspaceInput ?? "") || DEFAULT_WORKSPACE,
|
||||
);
|
||||
if (!snapshot.exists) {
|
||||
const indicators = ["MEMORY.md", "memory", ".git"].map((name) =>
|
||||
@@ -530,7 +530,7 @@ export async function runConfigureWizard(
|
||||
}),
|
||||
runtime,
|
||||
);
|
||||
gatewayPort = Number.parseInt(String(portInput), 10);
|
||||
gatewayPort = Number.parseInt(portInput, 10);
|
||||
};
|
||||
|
||||
if (opts.sections) {
|
||||
|
||||
Reference in New Issue
Block a user