Commit 0d24d01
committed
refactor: improve PID handling in SuperConverter
- Added radix parameter to parseInt for clarity when converting PIDs.
- Replaced isFinite check with Number.isInteger to ensure PIDs are strictly integers, enhancing the robustness of the PID generation logic.1 parent fed3449 commit 0d24d01
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
0 commit comments