Unverified Commit 729f8c83 authored by Ben Konyi's avatar Ben Konyi Committed by GitHub

Update regexp for Observatory/VM Service message parsing for device lab (#98935)

Should unblock https://github.com/flutter/flutter/issues/98930
parent cd2413c2
...@@ -190,7 +190,7 @@ Future<TaskResult> runTask( ...@@ -190,7 +190,7 @@ Future<TaskResult> runTask(
.transform<String>(const LineSplitter()) .transform<String>(const LineSplitter())
.listen((String line) { .listen((String line) {
if (!uri.isCompleted) { if (!uri.isCompleted) {
final Uri? serviceUri = parseServiceUri(line, prefix: RegExp('(Observatory|Dart VM Service) listening on ')); final Uri? serviceUri = parseServiceUri(line, prefix: RegExp('(Observatory|The Dart VM service is) listening on '));
if (serviceUri != null) if (serviceUri != null)
uri.complete(serviceUri); uri.complete(serviceUri);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment