Skip to content

Commit

Permalink
[Tools] Fix the issue of different name of module and folder when run…
Browse files Browse the repository at this point in the history
… CI pipeline (#14151)

* Optimize for CI filter.

* Add support for TargetModule

* Avoid the issue caused by renaming class.

* Avoid the issue caused by renaming class.

* Fix the issue of different name of module and folder

* Fix the issue of different name of module and folder

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
  • Loading branch information
wyunchi-ms and wyunchi-ms authored Feb 8, 2021
1 parent eaf74e6 commit 1ff6b2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .ci-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@
"tools/CleanupBuild.ps1",
"tools/CommonIncrementVersion.ps1",
"tools/CreateAliasMapping.ps1",
"tools/CreateFilterMappings.ps1",
"tools/CreateMappings_rules.json",
"tools/CreateMappings.ps1",
"tools/CreateRegistryEntry.ps1"
Expand Down
2 changes: 1 addition & 1 deletion tools/CreateFilterMappings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function Add-CsprojMappings
foreach ($CsprojFile in $CsprojFiles)
{
$Fields = $CsprojFile.FullName.Replace('/', '\').Split('\')
$Project = $Fields[$Fields.Length - 2]
$Project = $Fields[$Fields.Length - 3]
foreach ($ProjectName in $Script:ProjectToSolutionMappings.Keys)
{
foreach ($Solution in $Script:ProjectToSolutionMappings[$ProjectName])
Expand Down

0 comments on commit 1ff6b2f

Please sign in to comment.