Skip to content

Commit

Permalink
Remove the logic for OCTOKIT_CHANGED_FILE_LIMIT (Azure#21396)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyunchi-ms authored Apr 3, 2023
1 parent 2157f2b commit eb06681
Showing 1 changed file with 1 addition and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,25 +452,7 @@ public override bool Execute()
{
return false;
}
else if (FilesChanged.Length >= OCTOKIT_CHANGED_FILE_LIMIT)
{
var selectedModuleList = GetSelectedModuleList();
Dictionary<string, HashSet<string>> influencedModuleInfo = new Dictionary<string, HashSet<string>>
{
[BUILD_PHASE] = new HashSet<string>(selectedModuleList),
[TEST_PHASE] = new HashSet<string>(selectedModuleList)
};
foreach (var analysisPhase in ANALYSIS_PHASE_LIST)
{
influencedModuleInfo.Add(analysisPhase, new HashSet<string>(selectedModuleList));
}
FilterTaskResult.PhaseInfo = CalculateCsprojForBuildAndTest(influencedModuleInfo, csprojMap);
return true;
}
else
{
return ProcessFileChanged(csprojMap);
}
return ProcessFileChanged(csprojMap);
}
return true;
}
Expand Down

0 comments on commit eb06681

Please sign in to comment.