mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
code_style: run dotnet format
This commit is contained in:
parent
acf71a30b8
commit
85b83990a8
7 changed files with 18 additions and 17 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue