Closed aromano2 closed 2 years ago
Resolves #107 Added a 'Clean' switch to PSGalleryModule. When specified via parameters: @{ PSDependOptions = @{ Target = 'C:\temp' }
Pester = @{ DependencyType = 'PSGalleryModule' Name = 'Pester' Parameters = @{ Clean = $true } Version = '4.8.0' AddToPath = 'C:\temp' }
}
the script will clean out any existing versions of the same module, located within any of the paths defined in $env:PSModulePath. Had to refactor a good amount of the code to accommodate this feature.
bump @RamblingCookieMonster
Resolves #107
Added a 'Clean' switch to PSGalleryModule. When specified via parameters: @{ PSDependOptions = @{ Target = 'C:\temp' }
}
the script will clean out any existing versions of the same module, located within any of the paths defined in $env:PSModulePath. Had to refactor a good amount of the code to accommodate this feature.