Skip to content

Commit d2494b2

Browse files
committed
20220619B
1 parent 33a3fef commit d2494b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugoalh.GitHubActionsToolkit/module/step-summary.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Function Add-StepSummaryHeader {
4949
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_add-githubactionsstepsummaryheader#Add-GitHubActionsStepSummaryHeader')]
5050
[OutputType([Void])]
5151
Param (
52-
[Parameter(Mandatory = $True, Position = 0)][ValidateRange(1, 6)][UInt16]$Level,
52+
[Parameter(Mandatory = $True, Position = 0)][ValidateRange(1, 6)][Byte]$Level,
5353
[Parameter(Mandatory = $True, Position = 1)][ValidatePattern('^.+$', ErrorMessage = 'Parameter `Header` must be in single line string!')][Alias('Title', 'Value')][String]$Header
5454
)
5555
Return (Add-StepSummary -Value "$('#' * $Level) $Header")

0 commit comments

Comments
 (0)