Revert "Reland "Remove references to Observatory (#118577)" (#121215)" (#121555)

Revert "Reland "Remove references to Observatory (#118577)""
This commit is contained in:
Michael Goderbauer
2023-02-27 15:46:53 -08:00
committed by GitHub
parent c8d80163b0
commit 275ab9c69b
90 changed files with 490 additions and 511 deletions

View File

@@ -202,7 +202,7 @@ Future<TaskResult> runTask(
.transform<String>(const LineSplitter())
.listen((String line) {
if (!uri.isCompleted) {
final Uri? serviceUri = parseServiceUri(line, prefix: RegExp('The Dart VM service is listening on '));
final Uri? serviceUri = parseServiceUri(line, prefix: RegExp('(Observatory|The Dart VM service is) listening on '));
if (serviceUri != null) {
uri.complete(serviceUri);
}