Skip to content

Commit 864bd05

Browse files
committed
Prefer null to represent not using a field
1 parent 097e6af commit 864bd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TfvcMigrator/Program.cs

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

9090
var vssCredentials = !string.IsNullOrEmpty(pat)
91-
? new VssBasicCredential(string.Empty, pat)
91+
? new VssBasicCredential(null, pat)
9292
: new VssCredentials();
9393

9494
using var connection = new VssConnection(projectCollectionUrl, vssCredentials);

0 commit comments

Comments
 (0)