mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
chore: apply core lint cleanups
This commit is contained in:
parent
cc9dcd3d69
commit
596b88986d
41 changed files with 85 additions and 82 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue