-
Notifications
You must be signed in to change notification settings - Fork 551
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
remove the older protocol implementation #2722
Conversation
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.
Lots of good cleanup! I think the defaultChannel
change might have been included by accident, but otherwise LGTM.
# https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md. | ||
|
||
# Some of the project_creator_test.dart tests don't like to run in parallel with | ||
# other tests. |
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.
Hmm, this might be something we should investigate.
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.
Probably; I don't think it's necessary a serious underlying issue, and even w/ this the tests finish in ~30 seconds. As you say though, it would be good to investigate, esp. to rule out something serious.
pkgs/dart_services/lib/src/sdk.dart
Outdated
// <flutter-sdk>/bin/cache/dart-sdk | ||
final dart = Platform.resolvedExecutable; | ||
final dartSdk = path.dirname(path.dirname(dart)); | ||
final flutterSdk = path.dirname(path.dirname(path.dirname(dartSdk))); |
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) We might want to consider making sdkPath
a field on the Sdk
class. Right now we are caching the value globally, and then the Sdk
constructor uses this value to get the Dart executable path back out again.
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.
👍 - I took a stab at that in this PR
Contribution guidelines:
dart format
.Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.