Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: pkg/testing/lib/src/analyze.dart

Issue 2925583002: Fix another warning in pkg/testing. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/analyze.dart
diff --git a/pkg/testing/lib/src/analyze.dart b/pkg/testing/lib/src/analyze.dart
index 7f053e2c6feca8d8387f8f9e4b2b6799292d061d..22bf758b9e27ccded34a7de02e24087040ea4fb2 100644
--- a/pkg/testing/lib/src/analyze.dart
+++ b/pkg/testing/lib/src/analyze.dart
@@ -158,9 +158,9 @@ Future<Null> analyzeUris(
if (uris.isEmpty) return;
String topLevel;
try {
- topLevel = Uri
- .directory(await git("rev-parse", <String>["--show-toplevel"]))
- .toFilePath();
+ topLevel =
+ new Uri.directory(await git("rev-parse", <String>["--show-toplevel"]))
+ .toFilePath();
} catch (e) {
topLevel = Uri.base.toFilePath(windows: false);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698