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

chore(dev): use 'exit' instead of 'return' upon shell error #10855

Merged
merged 2 commits into from
May 16, 2023

Conversation

outsinre
Copy link
Contributor

Summary

Shell utility 'return' can only be used to return from Shell functions.

Checklist

Full changelog

  • Use exit instead of return upon error.

Issue reference

Fix FTI-5071

Shell utility 'return' can only be used to return from Shell functions.

FTI-5071
@outsinre outsinre force-pushed the FTI-5071-fix-a-bazel-shell-error branch from 74e4247 to 2905911 Compare May 12, 2023 12:25
@outsinre outsinre requested a review from fffonion May 12, 2023 12:25
@chronolaw
Copy link
Contributor

Could you back port it into CE?

@outsinre outsinre requested a review from chronolaw May 12, 2023 13:05
@outsinre
Copy link
Contributor Author

Could you back port it into CE?

@chronolaw this is a CE PR. Will cherry-pick to EE by CE2EE merge.

@outsinre outsinre requested a review from chronolaw May 15, 2023 03:16
@fffonion fffonion merged commit 77e4e12 into master May 16, 2023
@fffonion fffonion deleted the FTI-5071-fix-a-bazel-shell-error branch May 16, 2023 03:54
lhanjian pushed a commit that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants