Skip to content

Commit f1a91ad

Browse files
authored
Fix build issue when specifying -p:TargetModule (#23641)
1 parent 7d344d8 commit f1a91ad

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,7 @@ private List<string> GetTestCsprojList(string moduleName, Dictionary<string, str
179179
{
180180
List<string> csprojList = GetRelatedCsprojList(moduleName, csprojMap)
181181
.Where(x => x.Contains("Test")).ToList();
182-
if (csprojList.Count == 0)
183-
{
184-
csprojList.Add(moduleName);
185-
}
182+
186183
return csprojList;
187184
}
188185

0 commit comments

Comments
 (0)