From e5f90ee1c28ead65faf416e606f842cac3d95751 Mon Sep 17 00:00:00 2001 From: Jonathan Butler Date: Tue, 26 Nov 2024 12:54:07 -0500 Subject: [PATCH] Test to see if failing RobustCloudCommand runs. --- .../Invoke-PowerShellScriptAnalyzer.ps1 | 6 ------ 1 file changed, 6 deletions(-) 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