Skip to content

Commit 3e28297

Browse files
🩹 [Patch]: Improve logging for settings file path resolution
1 parent 6033362 commit 3e28297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/main.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ $codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path
66
Write-Host "List files:"
77
(Get-ChildItem -Path $pwd -Recurse -Force).FullName | Sort-Object
88

9-
Write-Host "Looking for settings file under $($pwd.Path)"
10-
$tmpSettingsFilePath = Join-Path -Path $pwd.Path -ChildPath $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath
9+
Write-Host "Looking for settings file under $pwd"
10+
$tmpSettingsFilePath = Join-Path -Path $pwd -ChildPath $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath
1111
Write-Host "Checking: $tmpSettingsFilePath"
1212
$settingsFileExists = Test-Path -Path $tmpSettingsFilePath
1313
if ($settingsFileExists) {

0 commit comments

Comments
 (0)