Skip to content

Commit eb06681

Browse files
authored
Remove the logic for OCTOKIT_CHANGED_FILE_LIMIT (#21396)
1 parent 2157f2b commit eb06681

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/CIFilterTask.cs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -452,25 +452,7 @@ public override bool Execute()
452452
{
453453
return false;
454454
}
455-
else if (FilesChanged.Length >= OCTOKIT_CHANGED_FILE_LIMIT)
456-
{
457-
var selectedModuleList = GetSelectedModuleList();
458-
Dictionary<string, HashSet<string>> influencedModuleInfo = new Dictionary<string, HashSet<string>>
459-
{
460-
[BUILD_PHASE] = new HashSet<string>(selectedModuleList),
461-
[TEST_PHASE] = new HashSet<string>(selectedModuleList)
462-
};
463-
foreach (var analysisPhase in ANALYSIS_PHASE_LIST)
464-
{
465-
influencedModuleInfo.Add(analysisPhase, new HashSet<string>(selectedModuleList));
466-
}
467-
FilterTaskResult.PhaseInfo = CalculateCsprojForBuildAndTest(influencedModuleInfo, csprojMap);
468-
return true;
469-
}
470-
else
471-
{
472-
return ProcessFileChanged(csprojMap);
473-
}
455+
return ProcessFileChanged(csprojMap);
474456
}
475457
return true;
476458
}

0 commit comments

Comments
 (0)