We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20daa58 commit 221e964Copy full SHA for 221e964
src/Views/AddWorktree.axaml.cs
@@ -26,7 +26,7 @@ private async void SelectLocation(object _, RoutedEventArgs e)
26
{
27
var folder = selected[0];
28
var folderPath = folder is { Path: { IsAbsoluteUri: true } path } ? path.LocalPath : folder?.Path.ToString();
29
- TxtLocation.Text = folderPath.TrimEnd('\\');
+ TxtLocation.Text = folderPath.TrimEnd(['\\', '/']);
30
}
31
32
catch (Exception exception)
0 commit comments