Skip to content

Commit

Permalink
String replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek committed Oct 14, 2024
1 parent 416aaa2 commit e129cbd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eng/scripts/Logging-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ function LogError {
Write-Host ("##vso[task.LogIssue type=error;]$args" -replace "`n", "%0D%0A")
}
elseif (Test-SupportsGitHubLogging) {
# Set an annotation in GitHub Actions UI
Write-Host ("::set-output name=error_message::$args" -replace "`n", "%0D%0A")
Write-Error ("::error::$args" -replace "`n", "%0D%0A")
Write-Error "::error::$args"
}
else {
Write-Error "$args"
Expand Down

0 comments on commit e129cbd

Please sign in to comment.