Skip to content

Commit 3063149

Browse files
🩹 [Patch]: Fix variable reference in environment input logging
1 parent 85c9979 commit 3063149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/init.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ begin {
88

99
# Configure ErrorView based on input parameter
1010
LogGroup "Inputs:" {
11-
Get-ChildItem env: | Where-Object { $_ -like 'PSMODULE_GITHUB_SCRIPT_INPUT_*' } | Out-String
11+
Get-ChildItem env: | Where-Object { $_.Name -like 'PSMODULE_GITHUB_SCRIPT_INPUT_*' } | Out-String
1212
}
1313
if (-not [string]::IsNullOrEmpty($env:PSMODULE_GITHUB_SCRIPT_INPUT_ErrorView)) {
1414
$validViews = @('NormalView', 'CategoryView', 'ConciseView', 'DetailedView')

0 commit comments

Comments
 (0)