Skip to content

Commit 15a16b2

Browse files
committed
Use natural delegate typing
1 parent acfd6db commit 15a16b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/TfvcMigrator/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public static Task Main(string[] args)
3636
new Option<string?>("--pat") { Description = "Optional PAT, required to access TFVC repositories hosted on Azure DevOps Services. If not provided Default Client Credentials will be used, these are only suitable for on-premise TFS/Azure DevOps Server." },
3737
};
3838

39-
command.Handler = CommandHandler.Create(
40-
new Func<Uri, string, string, string?, int?, int?, ImmutableArray<RootPathChange>, string?, Task>(MigrateAsync));
39+
command.Handler = CommandHandler.Create(MigrateAsync);
4140

4241
return command.InvokeAsync(args);
4342
}

0 commit comments

Comments
 (0)