mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 17:44:59 +00:00
code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
d4302b4faa
commit
a5594130ed
7 changed files with 8 additions and 9 deletions
|
@ -130,7 +130,7 @@ namespace SourceGit.Views
|
|||
|
||||
if (chars.Count >= 2 && char.IsAsciiLetterOrDigit(chars[0]) && char.IsAsciiLetterOrDigit(chars[^1]))
|
||||
return string.Format("{0}{1}", chars[0], chars[^1]);
|
||||
|
||||
|
||||
return name.Substring(0, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue