code_style: run dotnet format

This commit is contained in:
leo 2025-01-08 21:44:35 +08:00
parent f06b1d5d51
commit a3d744f426
No known key found for this signature in database
12 changed files with 19 additions and 19 deletions

View file

@ -26,10 +26,11 @@ namespace SourceGit.Native
public string FindGitExecutable()
{
var gitPathVariants = new List<string>() {
"/usr/bin/git", "/usr/local/bin/git", "/opt/homebrew/bin/git", "/opt/homebrew/opt/git/bin/git"
"/usr/bin/git", "/usr/local/bin/git", "/opt/homebrew/bin/git", "/opt/homebrew/opt/git/bin/git"
};
foreach (var path in gitPathVariants)
if (File.Exists(path)) return path;
if (File.Exists(path))
return path;
return string.Empty;
}