File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
eng/common/pipelines/templates Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -268,18 +268,22 @@ extends:
268
268
269
269
if (Test-Path -Path '$(buildArtifactsPath)/packages/overrides.json') {
270
270
Write-Host "Using overrides.json to generate emitter-package.json"
271
+ Push-Location $(Build.SourcesDirectory)/eng/common/tsp-client
271
272
npm exec --no -- tsp-client generate-config-files `
272
273
--package-json '$(buildArtifactsPath)/lock-files/package.json' `
273
- --emitter-package-json-path '$(Build.SourcesDirectory)/$ {{ parameters.EmitterPackageJsonOutputPath }}' `
274
+ --emitter-package-json-path '${{ parameters.EmitterPackageJsonOutputPath }}' `
274
275
--overrides '$(buildArtifactsPath)/packages/overrides.json'
276
+ Pop-Location
275
277
} else {
276
278
Write-Host "No overrides.json found. Running tsp-client without overrides."
279
+ Push-Location $(Build.SourcesDirectory)/eng/common/tsp-client
277
280
npm exec --no -- tsp-client generate-config-files `
278
281
--package-json '$(buildArtifactsPath)/lock-files/package.json' `
279
- --emitter-package-json-path '$(Build.SourcesDirectory)/${{ parameters.EmitterPackageJsonOutputPath }}'
282
+ --emitter-package-json-path '${{ parameters.EmitterPackageJsonOutputPath }}'
283
+ Pop-Location
280
284
}
281
285
displayName: Generate emitter-package.json and emitter-package-lock files
282
- workingDirectory: $(Build.SourcesDirectory)/eng/common/tsp-client
286
+ workingDirectory: $(Build.SourcesDirectory)
283
287
284
288
- ${{ parameters.InitializationSteps }}
285
289
You can’t perform that action at this time.
0 commit comments