Skip to content

Commit

Permalink
Fixed a minor issue in sdk-task.ps1 (#7440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haplois authored May 25, 2021
1 parent db13424 commit d79f97d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/sdk-task.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ try {
}

if ($task -eq "") {
Write-PipelineTelemetryError -Category 'Build' -Message "Missing required parameter '-task <value>'" -ForegroundColor Red
Write-PipelineTelemetryError -Category 'Build' -Message "Missing required parameter '-task <value>'"
Print-Usage
ExitWithExitCode 1
}
Expand All @@ -78,7 +78,7 @@ try {

$taskProject = GetSdkTaskProject $task
if (!(Test-Path $taskProject)) {
Write-PipelineTelemetryError -Category 'Build' -Message "Unknown task: $task" -ForegroundColor Red
Write-PipelineTelemetryError -Category 'Build' -Message "Unknown task: $task"
ExitWithExitCode 1
}

Expand Down

0 comments on commit d79f97d

Please sign in to comment.