Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azdo/templates/powershell-lint-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
set -uo pipefail
mkdir -p powershell-lint-results
echo "Installing PSScriptAnalyzer 1.22.0..."
pwsh -Command "Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.22.0 -Force -Scope CurrentUser"
echo "Installing PSScriptAnalyzer 1.23.0..."
pwsh -Command "Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.23.0 -Force -Scope CurrentUser"
echo "=== Running PSScriptAnalyzer ==="
LINT_FAILED=false
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/linting/Invoke-PSScriptAnalyzer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Import-Module (Join-Path $PSScriptRoot '../ci/Modules/CIHelpers.psm1') -Force
Import-Module (Join-Path $PSScriptRoot 'Modules/LintingHelpers.psm1') -Force

if (-not (Get-Module -ListAvailable -Name PSScriptAnalyzer)) {
Install-Module -Name PSScriptAnalyzer -RequiredVersion '1.22.0' -Force -Scope CurrentUser -AllowClobber
Install-Module -Name PSScriptAnalyzer -RequiredVersion '1.23.0' -Force -Scope CurrentUser -AllowClobber
}
Import-Module PSScriptAnalyzer -Force

Expand Down
Loading