File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
experiments/Websites.Experiments Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ function New-AzWebAppJustDoIt
125125}
126126
127127<#
128- . ExternalHelp help\ AzureRM.Websites.Experiments-help.xml
128+ . ExternalHelp AzureRM.Websites.Experiments-help.xml
129129#>
130130function New-AzWebApp
131131{
@@ -567,7 +567,7 @@ function Get-WebSitesClient
567567}
568568
569569<#
570- . ExternalHelp help\ AzureRM.Websites.Experiments-help.xml
570+ . ExternalHelp AzureRM.Websites.Experiments-help.xml
571571#>
572572function New-AzWebAppGrayParam
573573{
Original file line number Diff line number Diff line change @@ -223,10 +223,12 @@ function Change-RMModule
223223 ren $nupkgPath $zipPath
224224 Write-Output " Expanding $zipPath "
225225 Expand-Archive $zipPath - DestinationPath $dirPath
226- Write-Output " Adding PSM1 dependency to $unzippedManifest "
227- Add-PSM1Dependency - Path $unzippedManifest
228- Write-Output " Removing module manifest dependencies for $unzippedManifest "
229- Remove-ModuleDependencies - Path $unzippedManifest
226+ if (! ($moduleName.Contains (" Experiment" ))) {
227+ Write-Output " Adding PSM1 dependency to $unzippedManifest "
228+ Add-PSM1Dependency - Path $unzippedManifest
229+ Write-Output " Removing module manifest dependencies for $unzippedManifest "
230+ Remove-ModuleDependencies - Path $unzippedManifest
231+ }
230232
231233 Remove-Item - Path $zipPath - Force
232234 Write-Output " Repackaging $dirPath "
You can’t perform that action at this time.
0 commit comments