Skip to content

Commit

Permalink
respect switch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarolf authored Dec 9, 2022
1 parent 20ee213 commit 65007bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/perf/PerfCore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ try {
$output = Join-Path $RepoRoot "artifacts\performance\perfResults"

# Diff two different SHAs
if ($true) {
if ($diff) {
$DiffPerfToBaseLine = Join-Path $RepoRoot "eng\perf\DiffPerfToBaseLine.ps1"
$baselinejson = Get-Content -Raw -Path (Join-Path $RepoRoot "eng\perf\baseline.json") | ConvertFrom-Json
$baselineSHA = $baselinejson.sha
Expand Down Expand Up @@ -86,4 +86,4 @@ catch {
exit 1
}
finally {
}
}

0 comments on commit 65007bb

Please sign in to comment.