Skip to content

Commit 3346b47

Browse files
committed
SA1500 Braces for multi-line statements should not share line
1 parent 203b4c2 commit 3346b47

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ dotnet_diagnostic.SA1306.severity = none
6262
dotnet_diagnostic.SA1310.severity = none
6363
dotnet_diagnostic.SA1401.severity = none
6464
dotnet_diagnostic.SA1402.severity = none
65-
dotnet_diagnostic.SA1500.severity = none
6665
dotnet_diagnostic.SA1501.severity = none
6766
dotnet_diagnostic.SA1502.severity = none
6867
dotnet_diagnostic.SA1503.severity = none

src/TfvcMigrator/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@ public static async Task MigrateAsync(
8888
Console.WriteLine("Connecting...");
8989

9090
var vssCredentials = new VssCredentials();
91-
if (!string.IsNullOrEmpty(pat)) {
91+
if (!string.IsNullOrEmpty(pat))
9292
vssCredentials = new VssBasicCredential(string.Empty, pat);
93-
}
9493

9594
using var connection = new VssConnection(projectCollectionUrl, vssCredentials);
9695
using var client = await connection.GetClientAsync<TfvcHttpClient>();

0 commit comments

Comments
 (0)