Refactor PreviewDetector initialization parameters#178745
Refactor PreviewDetector initialization parameters#178745auto-submit[bot] merged 1 commit intoflutter-3.39-candidate.0from
Conversation
|
This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter. Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed. |
There was a problem hiding this comment.
Code Review
This pull request updates the initialization of PreviewDetector in a test file. The constructor call is changed to pass a FlutterProject object via the project parameter, instead of passing a Directory object via the projectRoot parameter. This change aligns with a refactoring of the PreviewDetector constructor.
Similar to #178679
see https://flutter-dashboard.appspot.com/#/build?repo=flutter&branch=flutter-3.39-candidate.0 for failures.