Skip to content

Commit 6033362

Browse files
🩹 [Patch]: Add force parameter to Get-ChildItem for comprehensive file listing
1 parent 66bf31b commit 6033362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/main.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $path = [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Path)
44
$codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path
55

66
Write-Host "List files:"
7-
(Get-ChildItem -Path $pwd -Recurse).FullName | Sort-Object
7+
(Get-ChildItem -Path $pwd -Recurse -Force).FullName | Sort-Object
88

99
Write-Host "Looking for settings file under $($pwd.Path)"
1010
$tmpSettingsFilePath = Join-Path -Path $pwd.Path -ChildPath $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath

0 commit comments

Comments
 (0)