fix(ci): satisfy codex extension lint · openclaw/openclaw@d30ba7f
steipete
·
2026-05-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1932,7 +1932,8 @@ function parseCodexCliSessionsArgs(args: string[]): ParsedCodexCliSessionsArgs {
|
1932 | 1932 | } |
1933 | 1933 | if (arg === "--limit") { |
1934 | 1934 | const value = readRequiredOptionValue(args, index); |
1935 | | -const parsedLimit = value && /^\+?\d+$/.test(value.trim()) ? Number(value.trim()) : NaN; |
| 1935 | +const parsedLimit = |
| 1936 | +value && /^\+?\d+$/.test(value.trim()) ? Number(value.trim()) : Number.NaN; |
1936 | 1937 | if (!Number.isSafeInteger(parsedLimit) || parsedLimit <= 0) { |
1937 | 1938 | parsed.help = true; |
1938 | 1939 | continue; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。