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

Refactor StartXCTest Method to return errors.Join Instead of []error #569

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

bahrimootaz
Copy link
Contributor

@bahrimootaz bahrimootaz commented Feb 19, 2025

This PR updates the StartXCTestWithConfig method to return a single error instead of []error. We now use errors.Join(targetErrors...) to aggregate multiple errors into one before returning.

@bahrimootaz bahrimootaz changed the title Refactor Method to Use errors.Join Instead of []error Refactor StartXCTest Method to return errors.Join Instead of []error Feb 19, 2025
@dmissmann dmissmann merged commit dcbae9e into danielpaulus:main Feb 19, 2025
2 checks passed
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.

2 participants