Skip to content

Commit

Permalink
Add LogNotice
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Dec 9, 2024
1 parent f9f5649 commit fe901e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eng/common/scripts/logging.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ function LogSuccess {
Write-Host "${green}$args${reset}"
}

function LogErrorForFile($file, $errorString)
{
function LogErrorForFile($file, $errorString) {
if (Test-SupportsDevOpsLogging) {
Write-Host ("##vso[task.logissue type=error;sourcepath=$file;linenumber=1;columnnumber=1;]$errorString" -replace "`n", "%0D%0A")
}
Expand Down

0 comments on commit fe901e9

Please sign in to comment.