Commit 2554a8f
committed
fix(cli): replace non-null assertion with optional chaining in spinner
Use optional chaining with fallback instead of non-null assertion (!)
for array access. While mathematically safe, this pattern is more
defensive and avoids potential runtime errors.1 parent 413a890 commit 2554a8f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments