From 7e824b599b4071e8eaa8853c4c02080312316071 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 26 Nov 2024 11:27:50 +0800 Subject: [PATCH] http-java-client, temporary ignore Generate-APIView-CodeFile failure (#5192) --- packages/http-client-java/eng/scripts/Build-Packages.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/http-client-java/eng/scripts/Build-Packages.ps1 b/packages/http-client-java/eng/scripts/Build-Packages.ps1 index cec857da8c..26aabbe39c 100644 --- a/packages/http-client-java/eng/scripts/Build-Packages.ps1 +++ b/packages/http-client-java/eng/scripts/Build-Packages.ps1 @@ -78,7 +78,10 @@ try { $file = Invoke-LoggedCommand "npm pack -q" Copy-Item $file -Destination "$outputPath/packages" + $exitCodeBeforeApiView = $global:LASTEXITCODE & "$packageRoot/../../eng/emitters/scripts/Generate-APIView-CodeFile.ps1" -ArtifactPath "$outputPath/packages" + # temporary ignore Generate-APIView-CodeFile.ps1 failure + $global:LASTEXITCODE = $exitCodeBeforeApiView Write-PackageInfo -packageName "typespec-http-client-java" -directoryPath "packages/http-client-java/emitter/src" -version $emitterVersion }