Commit f276e68
committed
fix: handle empty workspace folders array to prevent path type errors
- Replace .at(0) with safe array access using length checks
- Fixes "path argument must be of type string" error when workspace is empty
- Addresses regression introduced between v3.25.17 and v3.26.7
Fixes #76951 parent db095b7 commit f276e68
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments