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

Make run return nonnullable FutureOr<int> #406

Closed
wants to merge 4 commits into from

Conversation

robbecker-wf
Copy link
Member

@robbecker-wf robbecker-wf commented Jun 8, 2023

When migrating to null safety we missed making the run method return a non nullable FutureOr ... and that is causing weird casts and slight type mismatches in other tools. This fixes that since the exit code is either zero pass and non-zero for fail but should never be null.

@aviary2-wf
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
sdk: 2.18.7
Copy link
Member Author

Choose a reason for hiding this comment

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

since 3.0 got released to stable, it now doesn't work .. so avoiding that for now.

@robbecker-wf robbecker-wf marked this pull request as ready for review June 8, 2023 20:35
@robbecker-wf
Copy link
Member Author

Closing in favor of a non-breaking change solution here #407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants