Remove references to Observatory (#118577)

Observatory is being deprecated for Dart 3.0 so it should no longer be
referenced in tooling messaging / flags.

See https://github.com/dart-lang/sdk/issues/50233
This commit is contained in:
Ben Konyi
2023-02-13 14:29:30 -05:00
committed by GitHub
parent 00adf9a33a
commit 2df140f40d
90 changed files with 495 additions and 492 deletions

View File

@@ -35,7 +35,7 @@ class DartDevelopmentService {
final Completer<void> _completer = Completer<void>();
Future<void> startDartDevelopmentService(
Uri observatoryUri, {
Uri vmServiceUri, {
required Logger logger,
int? hostPort,
bool? ipv6,
@@ -49,11 +49,11 @@ class DartDevelopmentService {
);
logger.printTrace(
'Launching a Dart Developer Service (DDS) instance at $ddsUri, '
'connecting to VM service at $observatoryUri.',
'connecting to VM service at $vmServiceUri.',
);
try {
_ddsInstance = await ddsLauncherCallback(
observatoryUri,
vmServiceUri,
serviceUri: ddsUri,
enableAuthCodes: disableServiceAuthCodes != true,
ipv6: ipv6 ?? false,