File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ Write-Host "Copying documentation files to page cmdlets"
108108Copy-Item - Path " ./dev/documentation/*.md" - Destination " ./dev/pages/cmdlets" - Force
109109
110110foreach ($nightlycmdlet in $nightlycmdlets ) {
111- if (! $stableReleaseCmdlets.Contains ( $nightlycmdlet )) {
111+ if (! ( $stableReleaseCmdlets -like $nightlycmdlet )) {
112112 Copy-Item " ./dev/documentation/$nightlycmdlet .md" - Destination " ./dev/pages/cmdlets" - Force | Out-Null
113113 # update the document to state it's only available in the nightly build
114114 $header = $fm.GetHeader (" ./dev/pages/cmdlets/$nightlycmdlet .md" )
@@ -162,7 +162,7 @@ foreach ($cmdletPage in $cmdletPages)
162162 $cmdletIndexPageList += " - [$ ( $cmdletPage.BaseName ) ]($ ( $cmdletPage.Name ) )"
163163
164164 # Check if the cmdlet only exists in the nightly build
165- if (! $stableReleaseCmdlets.Contains ( $cmdletPage.BaseName ))
165+ if (! ( $stableReleaseCmdlets -like $cmdletPage.BaseName ))
166166 {
167167 # Add a 1 to the cmdlet name if it's only available in the nightly build
168168 $cmdletIndexPageList = $cmdletIndexPageList + " <sup>1</sup>"
You can’t perform that action at this time.
0 commit comments