Skip to content

Commit 66bf31b

Browse files
🩹 [Patch]: Add debug output for listing files in the current directory
1 parent eefe555 commit 66bf31b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/main.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ $testPath = Resolve-Path -Path "$PSScriptRoot/tests/PSScriptAnalyzer" | Select-O
33
$path = [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Path) ? '.' : $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Path
44
$codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path
55

6+
Write-Host "List files:"
7+
(Get-ChildItem -Path $pwd -Recurse).FullName | Sort-Object
8+
69
Write-Host "Looking for settings file under $($pwd.Path)"
710
$tmpSettingsFilePath = Join-Path -Path $pwd.Path -ChildPath $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath
811
Write-Host "Checking: $tmpSettingsFilePath"

0 commit comments

Comments
 (0)