Skip to content

Commit

Permalink
eng, fix TypeSpec-Compare-CurrentToCodegeneration script (#42955)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Nov 18, 2024
1 parent ae3635b commit 45a69a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/scripts/TypeSpec-Compare-CurrentToCodegeneration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Reset-Repository {
git clean -fd .
}

$tpsYamls = Get-ChildItem -Path $Directory -Filter "tsp-location.yaml" -Recurse
$tspYamls = Get-ChildItem -Path $Directory -Filter "tsp-location.yaml" -Recurse
if ($tspYamls.Count -eq 0) {
Write-Host "
Expand Down Expand Up @@ -55,7 +55,7 @@ Invoking tsp-client update
"

$failedSdk = $null
foreach ($tspLocationPath in $tpsYamls) {
foreach ($tspLocationPath in $tspYamls) {
$sdkPath = (get-item $tspLocationPath).Directory.FullName
Write-Host "Generate SDK for $sdkPath"
Push-Location
Expand Down

0 comments on commit 45a69a3

Please sign in to comment.