file finder: Fix `./` breaking new-path prompt (#15438)
Fixes #15426. The `./` was implicitly assumed to be there by the prompt, so we'd end up with `././foobar` when typing in an explicit `./`. This fixes the issue by stripping `./` from the query, like we also strip `/`. Release Notes: - Fixed paths starting with `./` breaking the new-path file picker when the system prompts are disabled. ([#15426](https://github.com/zed-industries/zed/issues/15426)).
T
Thorsten Ball committed
2b0c60043dee6b1f881f5fea0f1554c0f4e733b4
Parent: 0b4afe5
Committed by GitHub <noreply@github.com>
on 7/29/2024, 3:46:52 PM