mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Bump deps for ntlm-auth and PSScriptAnalyzer (#55269)
This commit is contained in:
@@ -6,6 +6,12 @@ Set-StrictMode -Version 2.0
|
||||
$ErrorActionPreference = "Stop"
|
||||
$WarningPreference = "Stop"
|
||||
|
||||
# Until https://github.com/PowerShell/PSScriptAnalyzer/issues/1217 is fixed we need to import Pester if it's
|
||||
# available.
|
||||
if (Get-Module -Name Pester -ListAvailable -ErrorAction SilentlyContinue) {
|
||||
Import-Module -Name Pester
|
||||
}
|
||||
|
||||
$LiteralPathRule = Import-Module -Name PSSA-PSCustomUseLiteralPath -PassThru
|
||||
$LiteralPathRulePath = Join-Path -Path $LiteralPathRule.ModuleBase -ChildPath $LiteralPathRule.RootModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user