Skip to content

Commit 121658f

Browse files
committed
20220510B
1 parent 849db7f commit 121658f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function Add-GitHubActionsStepSummary {
264264
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_add-githubactionsstepsummary#Add-GitHubActionsStepSummary')]
265265
[OutputType([void])]
266266
param (
267-
[Parameter(Position = 0, ValueFromPipeline = $true)][Alias('Content')][string[]]$Value = ''
267+
[Parameter(Position = 0, ValueFromPipeline = $true)][Alias('Content')][string[]]$Value = @('')
268268
)
269269
begin {
270270
[string[]]$Result = @()
@@ -394,7 +394,7 @@ Set-Alias -Name 'Stop-GitHubActionsProcessingCommands' -Value 'Disable-GitHubAct
394394
.SYNOPSIS
395395
GitHub Actions - Enable Echoing Commands
396396
.DESCRIPTION
397-
Enable echoing of commands, the run's log will show the command itself; The `add-mask`, `debug`, `warning`, and `error` commands do not support echoing because their outputs are already echoed to the log; Secret `ACTIONS_STEP_DEBUG` will ignore this.
397+
Enable echoing of commands, the run's log will show the command itself; Commands `add-mask`, `debug`, `warning`, and `error` do not support echoing because their outputs are already echoed to the log; Secret `ACTIONS_STEP_DEBUG` will ignore this.
398398
.OUTPUTS
399399
Void
400400
#>
@@ -938,7 +938,7 @@ function Set-GitHubActionsStepSummary {
938938
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_set-githubactionsstepsummary#Set-GitHubActionsStepSummary')]
939939
[OutputType([void])]
940940
param (
941-
[Parameter(Position = 0, ValueFromPipeline = $true)][Alias('Content')][string[]]$Value = ''
941+
[Parameter(Position = 0, ValueFromPipeline = $true)][Alias('Content')][string[]]$Value = @('')
942942
)
943943
begin {
944944
[string[]]$Result = @()

0 commit comments

Comments
 (0)