Skip to content

Commit 5e83d4d

Browse files
committed
Release 1.290.2025
1 parent 60bcbce commit 5e83d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,15 @@ jobs:
289289
Write-Host "Running PSScriptAnalyzer..." -ForegroundColor Cyan
290290
291291
# Find all .ps1 and .psm1 files in Functions directory
292-
$scriptFiles = Get-ChildItem -Path "${{ github.workspace }}/current-module/Functions" -Filter "*.ps1" -Recurse -ErrorAction SilentlyContinue
293-
$moduleFiles = Get-ChildItem -Path "${{ github.workspace }}/current-module" -Filter "*.psm1" -Recurse -ErrorAction SilentlyContinue
292+
$scriptFiles = Get-ChildItem -LiteralPath "${{ github.workspace }}/current-module/Functions" -Filter "*.ps1" -Recurse -ErrorAction SilentlyContinue
293+
$moduleFiles = Get-ChildItem -LiteralPath "${{ github.workspace }}/current-module" -Filter "*.psm1" -Recurse -ErrorAction SilentlyContinue
294294
295295
$allFiles = @($scriptFiles) + @($moduleFiles)
296296
$issuesFound = $false
297297
298298
foreach ($file in $allFiles) {
299299
Write-Host "\nAnalyzing: $($file.FullName)" -ForegroundColor Yellow
300-
$results = Invoke-ScriptAnalyzer -Path $file.FullName -Settings $settings
300+
$results = Invoke-ScriptAnalyzer -Path ($file.FullName) -Settings $settings
301301
302302
if ($results) {
303303
$issuesFound = $true

0 commit comments

Comments
 (0)