mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 12:40:43 +00:00
chore: apply core lint cleanups
This commit is contained in:
@@ -94,7 +94,7 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
|
||||
|
||||
const config = await loadNodeHostConfig();
|
||||
const { host, port } = resolveNodeDefaults(opts, config);
|
||||
if (!Number.isFinite(port ?? NaN) || (port ?? 0) <= 0) {
|
||||
if (!Number.isFinite(port ?? Number.NaN) || (port ?? 0) <= 0) {
|
||||
fail("Invalid port");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user