diff --git a/Hawk/internal/scripts/pre_commit_hook_scripts/Invoke-PowerShellScriptAnalyzer.ps1 b/Hawk/internal/scripts/pre_commit_hook_scripts/Invoke-PowerShellScriptAnalyzer.ps1 index 31877aa..e337edd 100644 --- a/Hawk/internal/scripts/pre_commit_hook_scripts/Invoke-PowerShellScriptAnalyzer.ps1 +++ b/Hawk/internal/scripts/pre_commit_hook_scripts/Invoke-PowerShellScriptAnalyzer.ps1 @@ -1,11 +1,5 @@ $ErrorActionPreference = 'Stop' -# Ensure PSScriptAnalyzer is installed and available -if (-not (Get-Module -ListAvailable PSScriptAnalyzer)) { - Write-Output "Installing PSScriptAnalyzer..." - Install-Module PSScriptAnalyzer -Force -Scope CurrentUser -} - # Import the module Import-Module PSScriptAnalyzer