Skip to content

Commit

Permalink
refactor(WorkItemCloneCommand.cs): remove unused AzureDevOpsApi templ…
Browse files Browse the repository at this point in the history
…ateApi instance to improve code readability and performance
  • Loading branch information
MrHinsh committed Jul 17, 2024
1 parent c6a645e commit 9591fa8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public override async Task<int> ExecuteAsync(CommandContext context, WorkItemClo
AnsiConsole.MarkupLine($"[red]Run: [/] {config.RunName}");
string runCache = $"{config.CachePath}\\{config.RunName}";
DirectoryInfo outputPathInfo = CreateOutputPath(runCache);

AzureDevOpsApi templateApi = CreateAzureDevOpsConnection(config.templateAccessToken, config.templateOrganization, config.templateProject);
AzureDevOpsApi targetApi = CreateAzureDevOpsConnection(config.targetAccessToken, config.targetOrganization, config.targetProject);

JArray inputWorkItems = DeserializeWorkItemList(config);
Expand Down

0 comments on commit 9591fa8

Please sign in to comment.