Skip to content

Commit 0d4084b

Browse files
committed
Fix regular expression
1 parent 05c4a4f commit 0d4084b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Format-GHActionsCommand {
3030
)
3131
begin {}
3232
process {
33-
[string]$Result = $InputObject -replace '%', '%25' -replace "`n", '%0A' -replace "`r", '%0D'
33+
[string]$Result = $InputObject -replace '%', '%25' -replace "\n", '%0A' -replace "\r", '%0D'
3434
if ($Property) {
3535
$Result = $Result -replace ',', '%2C' -replace ':', '%3A'
3636
}

0 commit comments

Comments
 (0)