From e6935a285b13e40be1d696fbcd39f756e7af9cc6 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Wed, 10 Apr 2019 05:06:22 +0200 Subject: [PATCH] Allow pslint as user (#55066) --- test/runner/requirements/sanity.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runner/requirements/sanity.ps1 b/test/runner/requirements/sanity.ps1 index 750f4b13842..994f6c89e03 100755 --- a/test/runner/requirements/sanity.ps1 +++ b/test/runner/requirements/sanity.ps1 @@ -5,7 +5,7 @@ Set-StrictMode -Version 2.0 $ErrorActionPreference = "Stop" 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 -Install-Module -Name PSSA-PSCustomUseLiteralPath -RequiredVersion 0.1.1 +Install-Module -Name PSSA-PSCustomUseLiteralPath -RequiredVersion 0.1.1 -Scope CurrentUser