Allow pslint as user (#55066)
This commit is contained in:
parent
98692ab350
commit
e6935a285b
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ Set-StrictMode -Version 2.0
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
||||||
Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.17.1
|
Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.17.1 -Scope CurrentUser
|
||||||
|
|
||||||
# Installed the PSCustomUseLiteralPath rule
|
# Installed the PSCustomUseLiteralPath rule
|
||||||
Install-Module -Name PSSA-PSCustomUseLiteralPath -RequiredVersion 0.1.1
|
Install-Module -Name PSSA-PSCustomUseLiteralPath -RequiredVersion 0.1.1 -Scope CurrentUser
|
||||||
|
|
Loading…
Reference in a new issue