Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the ci stuck issue #8170

Merged
merged 3 commits into from
Apr 30, 2024
Merged

fix the ci stuck issue #8170

merged 3 commits into from
Apr 30, 2024

Conversation

MaryGao
Copy link
Member

@MaryGao MaryGao commented Apr 30, 2024

fixes #7631

@MaryGao MaryGao requested a review from qiaozha as a code owner April 30, 2024 02:58
@MaryGao
Copy link
Member Author

MaryGao commented Apr 30, 2024

/check-enforcer override

@MaryGao MaryGao requested a review from raych1 April 30, 2024 02:58
const typespecProject = isTypeSpecProject ? typeof typespecProjectFolder === 'string' ? typespecProjectFolder : typespecProjectFolder![0] : undefined;
const isMgmt = isTypeSpecProject ? false : readmeMd!.includes('resource-manager');
const runningEnvironment = typeof readmeFiles === 'string' || typeof typespecProjectFolder === 'string' ? RunningEnvironment.SdkGeneration : RunningEnvironment.SwaggerSdkAutomation;
try {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the main change is to add a try/finally block for this.

@MaryGao
Copy link
Member Author

MaryGao commented Apr 30, 2024

/check-enforcer override

@MaryGao MaryGao merged commit a236266 into main Apr 30, 2024
4 checks passed
@MaryGao MaryGao deleted the fix-js-ci-stuck-issue branch April 30, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline result fails to be published
2 participants