Skip to content

Commit

Permalink
Fix variable spelling for RepoRooot
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed Oct 22, 2024
1 parent 027cda2 commit aa8e14c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions eng/packages/http-client-csharp/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ parameters:
- name: ShouldPublish
displayName: 'Publish packages'
type: boolean
default: true
default: false
- name: PublishPublic
displayName: 'Publish to npmjs.org'
type: boolean
default: false
- name: ShouldRegenrate
- name: ShouldRegenerate
displayName: 'Regenerate clients'
type: boolean
default: true
default: false

variables:
- template: /eng/pipelines/templates/variables/image.yml
Expand All @@ -45,7 +45,7 @@ extends:
PublishPublic: ${{ parameters.PublishPublic }}
PublishDependsOnTest: ${{ parameters.PublishPublic }}

ShouldRegenrate: ${{ parameters.ShouldRegenrate }}
ShouldRegenerate: ${{ parameters.ShouldRegenerate }}
RegenerationJobCount: 5
MinimumPerJob: 10
OnlyGenerateTypespec: true
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/typespec/Build-Emitter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Set-StrictMode -Version 3.0
. "$PSScriptRoot/../../common/scripts/common.ps1"
Set-ConsoleEncoding

$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp"
$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp"
$outputPath = $OutputDirectory ? $OutputDirectory : (Join-Path $packageRoot "artifacts" "build")

Push-Location $packageRoot
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/typespec/Generate-Code.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Set-StrictMode -Version 3.0
. "$PSScriptRoot/../../common/scripts/common.ps1"
Set-ConsoleEncoding

$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp"
$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp"

function Get-TspCommand {
param (
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/typespec/Initialize-WorkingDirectory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ($UseTypeSpecNext) {
Write-Host "##vso[build.addbuildtag]typespec_next"
}

$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp"
$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp"
Push-Location $packageRoot
try {
if (Test-Path "./node_modules") {
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/typespec/Test-Emitter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Set-StrictMode -Version 3.0
. "$PSScriptRoot/../../common/scripts/common.ps1"
Set-ConsoleEncoding

$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp"
$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp"
$testResultsPath = $OutputDirectory ? $OutputDirectory : (Join-Path $packageRoot "artifacts" "test")
$errors = @()
Push-Location $packageRoot
Expand Down

0 comments on commit aa8e14c

Please sign in to comment.