code_style: run dotnet format

This commit is contained in:
leo 2024-10-15 09:39:01 +08:00
parent 4c60818d68
commit ccdc849baa
No known key found for this signature in database
13 changed files with 19 additions and 19 deletions

View file

@ -25,7 +25,7 @@ namespace SourceGit.Commands
{
foreach (var c in changes)
pathsBuilder.Append($"\"{c.Path}\" ");
var paths = pathsBuilder.ToString();
Args = $"stash push --staged -m \"{message}\" -- {paths}";
}
@ -51,11 +51,11 @@ namespace SourceGit.Commands
new Add(WorkingDirectory, needAdd).Exec();
needAdd.Clear();
}
var paths = pathsBuilder.ToString();
Args = $"stash push -m \"{message}\" -- {paths}";
}
return Exec();
}