Index: tools/gardening/lib/src/compare_failures_impl.dart |
diff --git a/tools/gardening/lib/src/compare_failures_impl.dart b/tools/gardening/lib/src/compare_failures_impl.dart |
index f52bb549d1e7dc19ea4aa3bb442d964f932b2eed..f767a27a5244cb67d07ea3b9d0cb73a3ff87492d 100644 |
--- a/tools/gardening/lib/src/compare_failures_impl.dart |
+++ b/tools/gardening/lib/src/compare_failures_impl.dart |
@@ -32,13 +32,7 @@ Future<Map<BuildUri, List<BuildResult>>> loadBuildResults( |
} |
if (buildUriList.isEmpty) { |
for (String url in args) { |
- if (!url.endsWith('/text')) { |
- // Use the text version of the stdio log. |
- url += '/text'; |
- } |
- Uri uri = Uri.parse(url); |
- BuildUri buildUri = new BuildUri(uri); |
- buildUriList.add(buildUri); |
+ buildUriList.add(new BuildUri.fromUrl(url)); |
} |
} |
Map<BuildUri, List<BuildResult>> buildResults = |