Skip to content

Commit

Permalink
Update Invoke-GenerateAndBuildV2.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
raych1 authored Jun 14, 2023
1 parent 6926e4c commit 165e85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/scripts/Invoke-GenerateAndBuildV2.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ if ($relatedTypeSpecProjectFolder) {
$sdkProjectFolder = & $processScript $typespecFolder $commitid $repoHttpsUrl -SkipSyncAndGenerate
if ($LASTEXITCODE) {
# If Process script call fails, then return with failure to CI and don't need to call GeneratePackage
$generatedSDKPackages = @{
$generatedSDKPackages.Add(@{
result = "failed";
path=@("");
}
})
} else {
$relativeSdkPath = Resolve-Path $sdkProjectFolder -Relative
GeneratePackage `
Expand Down

0 comments on commit 165e85d

Please sign in to comment.