mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
code_style: run dotnet format
This commit is contained in:
parent
1dffb2ebf5
commit
9d3f186b44
10 changed files with 17 additions and 16 deletions
|
@ -12,7 +12,8 @@ namespace SourceGit.Commands
|
||||||
public string Result()
|
public string Result()
|
||||||
{
|
{
|
||||||
var rs = ReadToEnd();
|
var rs = ReadToEnd();
|
||||||
if (rs.IsSuccess) return rs.StdOut.TrimEnd();
|
if (rs.IsSuccess)
|
||||||
|
return rs.StdOut.TrimEnd();
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
protected override Type StyleKeyOverride => typeof(TextEditor);
|
protected override Type StyleKeyOverride => typeof(TextEditor);
|
||||||
|
|
||||||
public IThemedTextDiffPresenter(TextArea area, TextDocument doc): base(area, doc)
|
public IThemedTextDiffPresenter(TextArea area, TextDocument doc) : base(area, doc)
|
||||||
{
|
{
|
||||||
IsReadOnly = true;
|
IsReadOnly = true;
|
||||||
ShowLineNumbers = false;
|
ShowLineNumbers = false;
|
||||||
|
|
Loading…
Reference in a new issue