Skip to content

Commit

Permalink
Adding node 6 to deprececated node version. This is to enable display…
Browse files Browse the repository at this point in the history
…ing warning in pipeline runs for tasks utilizing node 16. (#5125)
  • Loading branch information
rishabhmalikMS authored Feb 24, 2025
1 parent 71aa1eb commit e9c5346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Agent.Worker/TaskManager.cs
Original file line number Diff line number Diff line change
@@ -373,8 +373,8 @@ private void CheckForTaskDeprecation(IExecutionContext executionContext, Pipelin

private void CheckIfTaskNodeRunnerIsDeprecated(IExecutionContext executionContext, Pipelines.TaskStepDefinitionReference task)
{
string[] deprecatedNodeRunners = { "Node", "Node10" };
string[] approvedNodeRunners = { "Node16", "Node20_1" }; // Node runners which are not considered as deprecated
string[] deprecatedNodeRunners = { "Node", "Node10", "Node16" };
string[] approvedNodeRunners = { "Node20_1" }; // Node runners which are not considered as deprecated
string[] executionSteps = { "prejobexecution", "execution", "postjobexecution" };

JObject taskJson = GetTaskJson(task);

0 comments on commit e9c5346

Please sign in to comment.