code_style: run dotnet format

This commit is contained in:
leo 2024-06-14 09:46:30 +08:00
parent 1dffb2ebf5
commit 9d3f186b44
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
10 changed files with 17 additions and 16 deletions

View file

@ -12,7 +12,8 @@ namespace SourceGit.Commands
public string Result()
{
var rs = ReadToEnd();
if (rs.IsSuccess) return rs.StdOut.TrimEnd();
if (rs.IsSuccess)
return rs.StdOut.TrimEnd();
return string.Empty;
}
}

View file

@ -58,7 +58,7 @@ namespace SourceGit.Commands
}
nextPartIdx++;
start = end + 1;
end = rs.StdOut.IndexOf('\n', start);
}