Skip to content

Commit 106643a

Browse files
committed
20231031C
1 parent 0148071 commit 106643a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hugoalh.GitHubActionsToolkit/module/utility.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ Function Get-WebhookEventPayload {
109109
Throw 'File is not exist!'
110110
}
111111
Get-Content -LiteralPath $Env:GITHUB_EVENT_PATH -Raw -Encoding 'UTF8NoBOM' |
112-
ConvertFrom-Json -AsHashtable:($PSCmdlet.ParameterSetName -ieq 'Hashtable') -Depth 100
112+
ConvertFrom-Json -AsHashtable:($PSCmdlet.ParameterSetName -ieq 'Hashtable') -Depth 100 |
113+
Write-Output
113114
}
114115
Catch {
115116
Write-Error -Message "Unable to get the GitHub Actions webhook event payload: $_" -Category 'ResourceUnavailable'

0 commit comments

Comments
 (0)