Skip to content

Commit

Permalink
skip az tools when analyzing examples (Azure#20032)
Browse files Browse the repository at this point in the history
  • Loading branch information
isra-fel authored Nov 23, 2022
1 parent c9a0d1b commit 891db45
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ if ($PSCmdlet.ParameterSetName -eq "Markdown") {
if ((Get-Item -Path $_.FullName).Directory.Parent.Name -eq "netcoreapp3.1") {
continue
}
# Skip Az.Tools.* modules as they may not comply with Az convention
if (($_.FullName -cmatch "Az\.Tools\.")) {
Write-Debug "Skipping $($_.FullName)"
continue
}
Write-Output "Searching in file $($_.FullName) ..."
if ((Get-Item -Path $_.FullName).Directory.Parent.Parent.Name -ne "src") {
$module = (Get-Item -Path $_.FullName).Directory.Parent.Parent.Name
Expand Down

0 comments on commit 891db45

Please sign in to comment.