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 screenshot processing: reduce reliance on full process result. #1304

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Dec 20, 2023

  • Fixes a tiny bug on the old file's line 382: it returned the previous process result's exit code instead the current one.
  • Reducing the process result's use to prepare for future changes in runProc.

@isoos
Copy link
Collaborator Author

isoos commented Jan 8, 2024

kind ping for review

Future<List<String>> _checkedRunProc(
List<String> cmdAndArgs, {
FutureOr<void> Function(PanaProcessResult pr)? onSuccess,
required String description,
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps rename this argument to failureText or something.

@isoos isoos merged commit b861e23 into dart-lang:master Jan 9, 2024
5 checks passed
@isoos isoos deleted the screenshots branch January 9, 2024 10:14
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