We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632ebb1 commit 5edfc03Copy full SHA for 5edfc03
src/TfvcMigrator/Program.cs
@@ -87,11 +87,12 @@ public static async Task MigrateAsync(
87
88
Console.WriteLine("Connecting...");
89
90
- var vssCredentials = pat is not null
91
- ? new VssBasicCredential(userName: null, password: pat)
92
- : new VssCredentials();
+ using var connection = new VssConnection(
+ projectCollectionUrl,
+ pat is not null
93
+ ? new VssBasicCredential(userName: null, password: pat)
94
+ : new VssCredentials());
95
- using var connection = new VssConnection(projectCollectionUrl, vssCredentials);
96
using var client = await connection.GetClientAsync<TfvcHttpClient>();
97
98
Console.WriteLine("Downloading changeset and label metadata...");
0 commit comments