Skip to content

Commit 6c014ab

Browse files
🩹 [Patch]: Add debug output for settings file path resolution
1 parent 24cac04 commit 6c014ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/main.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path
77
[string]$settingsFilePath = ''
88
if (-not [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath)) {
99
try {
10+
Write-Host "Looking for settings file under $($pwd.Path)"
1011
$settingsFilePath = Resolve-Path -Path $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath -ErrorAction Stop |
1112
Select-Object -ExpandProperty Path
1213
Write-Information "Using settings file: $settingsFilePath"

0 commit comments

Comments
 (0)