Commit be1c28b
fix(previewer): handle empty or invalid entries
- add validation for empty and invalid paths (".", "..")
- return error message instead of parsing with `entry_to_file`
- fixes crashes on Windows with live_grep1 parent a8458b7 commit be1c28b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
| |||
0 commit comments