-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[flutter_tools] process exception during linux_doctor is handled #100159
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
[flutter_tools] process exception during linux_doctor is handled #100159
Conversation
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| import 'dart:io' show ProcessException; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Importing dart:io is banned in the tool (I'm pretty sure analysis will catch this). You can import this class via: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/base/io.dart#L92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, analysis passed. I wonder if we only validate that for non-test code?
|
Note, if you put "Fixes #99944" in your description, GitHub will link the two, and once the bot merges the PR GitHub will auto-close the issue. |
| } on ArgumentError { | ||
| // ignore error. | ||
| } | ||
| on ProcessException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit this should be on the previous line
I see you updated the title. It looks like only the description gets the special GitHub parsing magic. |
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM barring the style nit
Fixes #99944
Pre-launch Checklist
///).