cleanup<*>: run vs code cleanup to format codestyle and remove unused references

This commit is contained in:
leo 2021-08-05 15:54:00 +08:00
parent 37559b60d4
commit 2cf7192ec4
41 changed files with 77 additions and 89 deletions

View file

@ -101,7 +101,7 @@ namespace SourceGit.Commands {
#endif
return;
}
if (string.IsNullOrEmpty(e.Data)) return;
if (TraitErrorAsOutput) OnReadline(e.Data);
@ -147,7 +147,7 @@ namespace SourceGit.Commands {
start.StandardErrorEncoding = Encoding.UTF8;
if (!string.IsNullOrEmpty(Cwd)) start.WorkingDirectory = Cwd;
var proc = new Process() { StartInfo = start };
try {
proc.Start();
@ -174,6 +174,6 @@ namespace SourceGit.Commands {
/// 调用Exec时的读取函数
/// </summary>
/// <param name="line"></param>
public virtual void OnReadline(string line) {}
public virtual void OnReadline(string line) { }
}
}