mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
code_style: run dotnet format
This commit is contained in:
parent
2e87f83a38
commit
ec6fe25e87
10 changed files with 13 additions and 33 deletions
|
@ -50,24 +50,16 @@ namespace SourceGit.Commands
|
|||
if (!allowEmpty && string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
if (string.IsNullOrEmpty(WorkingDirectory))
|
||||
{
|
||||
Args = $"config --global --unset {key}";
|
||||
}
|
||||
else
|
||||
{
|
||||
Args = $"config --unset {key}";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(WorkingDirectory))
|
||||
{
|
||||
Args = $"config --global {key} \"{value}\"";
|
||||
}
|
||||
else
|
||||
{
|
||||
Args = $"config {key} \"{value}\"";
|
||||
}
|
||||
}
|
||||
|
||||
return Exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue