Commit d591af5
fix(cli): guard against NaN timeout in daemon exec
typeof NaN === 'number' so the previous guard let NaN through,
causing setTimeout(fn, NaN) to fire immediately with a confusing
"Socket read timed out" error. Add Number.isNaN check.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a8ca596 commit d591af5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments