Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 6926e4c

Browse files
authored
Update Invoke-GenerateAndBuildV2.ps1
1 parent 5279805 commit 6926e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/Invoke-GenerateAndBuildV2.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if ($inputFileToGen) {
113113
if ($relatedTypeSpecProjectFolder) {
114114
foreach ($typespecRelativeFolder in $relatedTypeSpecProjectFolder) {
115115
$typespecFolder = Resolve-Path (Join-Path $swaggerDir $typespecRelativeFolder)
116-
$processScript = Resolve-Path (Join-Path "./eng/common/scripts" "TypeSpec-Project-Process.ps1")
116+
$processScript = Resolve-Path (Join-Path $PSScriptRoot "../common/scripts" "TypeSpec-Project-Process.ps1")
117117
$sdkProjectFolder = & $processScript $typespecFolder $commitid $repoHttpsUrl -SkipSyncAndGenerate
118118
if ($LASTEXITCODE) {
119119
# If Process script call fails, then return with failure to CI and don't need to call GeneratePackage

0 commit comments

Comments
 (0)