Files
code-server/test/unit/node
Leo Camus 8a7bf87a4d Fix --idle-timeout-seconds validation being skipped (#8009)
The lower bound check ran before the parser had resolved the value, so it
only saw a value with the --idle-timeout-seconds=<value> form. With the
space-separated form the value was still undefined at that point,
Number(undefined) is NaN, and NaN <= 60 is false, so anything got through.

Move the check below the block that pulls the value from the next
argument so both forms are validated the same way.
2026-09-20 02:53:04 -08:00
..
2026-08-06 12:35:34 -08:00
2026-08-20 13:24:49 -08:00
2026-06-16 11:27:53 -08:00
2025-10-28 16:10:56 -08:00
2024-10-17 20:32:21 -08:00
2023-08-29 14:25:24 -08:00
2022-12-06 13:28:27 -07:00