Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tools] Fix the issue of CI Pipeline #14222

Merged
merged 2 commits into from
Feb 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix the issue that Target module fails
  • Loading branch information
wyunchi-ms committed Feb 18, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0d5c800614e46a78ecc69c7fe66b2ea49aa71e9d
Original file line number Diff line number Diff line change
@@ -414,7 +414,11 @@ public override bool Execute()
var csprojMap = ReadMapFile(CsprojMapFilePath, "CsprojMapFilePath");

Console.WriteLine(string.Format("FilesChanged: {0}", FilesChanged.Length));
if (FilesChanged != null)
if (!string.IsNullOrWhiteSpace(TargetModule))
{
return ProcessTargetModule(csprojMap);
}
else if (FilesChanged != null)
{
if (FilesChanged.Length > 0)
{
@@ -435,10 +439,6 @@ public override bool Execute()
return true;
}
}
else if (!string.IsNullOrWhiteSpace(TargetModule))
{
return ProcessTargetModule(csprojMap);
}
return true;
}
}