code_style: run dotnet format

This commit is contained in:
leo 2024-09-25 16:24:04 +08:00
parent acf71a30b8
commit 85b83990a8
No known key found for this signature in database
7 changed files with 18 additions and 17 deletions

View file

@ -18,7 +18,7 @@ namespace SourceGit.Converters
{
if (OperatingSystem.IsWindows())
return v;
var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
var prefixLen = home.EndsWith('/') ? home.Length - 1 : home.Length;
if (v.StartsWith(home, StringComparison.Ordinal))