Skip to content

Commit 5056300

Browse files
committed
--pat="" should represent an empty password
1 parent 864bd05 commit 5056300

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
@@ -87,7 +87,7 @@ public static async Task MigrateAsync(
8787

8888
Console.WriteLine("Connecting...");
8989

90-
var vssCredentials = !string.IsNullOrEmpty(pat)
90+
var vssCredentials = pat is not null
9191
? new VssBasicCredential(null, pat)
9292
: new VssCredentials();
9393

0 commit comments

Comments
 (0)