Skip to content

Commit cd93973

Browse files
committed
Address review feedback
1 parent 66db94b commit cd93973

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/CreateFilterMappings.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function Create-ProjectToFullPathMappings
9393
$Mappings = [ordered]@{}
9494
foreach ($ServiceFolder in $Script:ServiceFolders)
9595
{
96-
$CsprojFiles = Get-ChildItem -Path $ServiceFolder -Filter "*.csproj" -Recurse | where { $_.FullName -notlike "*Stack*" }
96+
$CsprojFiles = Get-ChildItem -Path $ServiceFolder -Filter "*.csproj" -Recurse
9797
foreach ($CsprojFile in $CsprojFiles)
9898
{
9999
$Mappings[$CsprojFile.BaseName] = $CsprojFile.FullName
@@ -124,7 +124,7 @@ function Create-SolutionToProjectMappings
124124
$Mappings = [ordered]@{}
125125
foreach ($ServiceFolder in $Script:ServiceFolders)
126126
{
127-
$SolutionFiles = Get-ChildItem -Path $ServiceFolder.FullName -Filter "*.sln" | Where-Object { $_.FullName -notlike "*Stack*" }
127+
$SolutionFiles = Get-ChildItem -Path $ServiceFolder.FullName -Filter "*.sln"
128128
foreach ($SolutionFile in $SolutionFiles)
129129
{
130130
$Mappings = Add-ProjectDependencies -Mappings $Mappings -SolutionPath $SolutionFile.FullName
@@ -220,8 +220,7 @@ function Create-ModuleMappings
220220
foreach ($ServiceFolder in $Script:ServiceFolders)
221221
{
222222
$Key = "src/$($ServiceFolder.Name)"
223-
$ModuleManifestFiles = Get-ChildItem -Path $ServiceFolder.FullName -Filter "*.psd1" -Recurse | Where-Object { $_.FullName -notlike "*Stack*" -and `
224-
$_.FullName -notlike "*.Test*" -and `
223+
$ModuleManifestFiles = Get-ChildItem -Path $ServiceFolder.FullName -Filter "*.psd1" -Recurse | Where-Object { $_.FullName -notlike "*.Test*" -and `
225224
$_.FullName -notlike "*Release*" -and `
226225
$_.FullName -notlike "*Debug*" -and `
227226
$_.Name -like "Az.*" }

0 commit comments

Comments
 (0)