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

Change successExitCodes and ExpectedErrors to arrays #7627

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

westbury
Copy link
Contributor

Currently both successExitCodes and ExpectedErrors Git options are sets. However the interface is serializable so objects cannot be used here. This breaks frontend code that uses either of these options.

What it does

These two options are changed to arrays. They are converted to sets in the backend before passing on to Dugite.

How to test

Check the existing places that use these options. Currently these options are only set in the backend. If you need to test that the arrays can be set from the frontend, I can ask a colleague to test or I can make up some test code.

Review checklist

Reminder for reviewers

@westbury westbury added the git issues related to git label Apr 20, 2020
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

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

Thank you for the cleanup, @westbury 👍

@westbury westbury merged commit 15c73d4 into eclipse-theia:master Apr 28, 2020
@westbury westbury deleted the fix-sets branch April 28, 2020 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
git issues related to git
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants