Skip to content

Commit 61cead1

Browse files
committed
code_style: run dotnet format to follow rules defined in .editorconfig
1 parent 7866a11 commit 61cead1

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

src/SourceGit/App.JsonCodeGen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ namespace SourceGit
66
[JsonSerializable(typeof(Models.Version))]
77
[JsonSerializable(typeof(ViewModels.Preference))]
88
internal partial class JsonCodeGen : JsonSerializerContext { }
9-
}
9+
}

src/SourceGit/App.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private static void ShowSelfUpdateResult(object data)
253253
};
254254

255255
dialog.Show(desktop.MainWindow);
256-
}
256+
}
257257
});
258258
}
259259

src/SourceGit/Commands/GetImageFileAsBitmap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ public static Bitmap Run(string repo, string revision, string file)
3737
}
3838
}
3939
}
40-
}
40+
}

src/SourceGit/Converters/FontSizeModifyConverters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ public static class FontSizeModifyConverters
1010
public static FuncValueConverter<double, double> Decrease =
1111
new FuncValueConverter<double, double>(v => v - 1.0);
1212
}
13-
}
13+
}

src/SourceGit/Models/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ public bool IsNewVersion
3434
}
3535

3636
public class AlreadyUpToDate { }
37-
}
37+
}

src/SourceGit/Native/Linux.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public string FindVSCode()
3535
if (File.Exists(toolPath)) return toolPath;
3636
return string.Empty;
3737
}
38-
38+
3939
public string FindFleet()
4040
{
4141
var toolPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/.local/share/JetBrains/Toolbox/apps/fleet/bin/Fleet";

src/SourceGit/Native/MacOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public string FindVSCode()
3333
return toolPath;
3434
return string.Empty;
3535
}
36-
36+
3737
public string FindFleet()
3838
{
3939
var toolPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/Applications/Fleet.app/Contents/MacOS/Fleet";

src/SourceGit/ViewModels/CommitDetail.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ private void RefreshViewRevisionFile(Models.Object file)
449449
ViewRevisionFileContent = new Models.RevisionBinaryFile() { Size = size };
450450
});
451451
}
452-
452+
453453
return;
454454
}
455455

src/SourceGit/ViewModels/DiffContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public DiffContext(string repo, Models.DiffOption option, DiffContext previous =
127127
binaryDiff.NewSize = File.Exists(fullPath) ? new FileInfo(fullPath).Length : 0;
128128
}
129129
rs = binaryDiff;
130-
}
131-
}
130+
}
131+
}
132132
else if (latest.IsLFS)
133133
{
134134
rs = latest.LFSDiff;

src/SourceGit/ViewModels/SelfUpdate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ public object Data
1212

1313
private object _data = null;
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)