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

Unified Diff: lib/src/util/io.dart

Issue 1051133002: *Properly* fix that package-root bug. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 9 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 | « lib/src/runner/browser/compiler_pool.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/util/io.dart
diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart
index 4fd8c7e7a7e0e4ded2735a32555911441881d791..39c336ac84ddff329fcecdc6fee2f9932b7110f5 100644
--- a/lib/src/util/io.dart
+++ b/lib/src/util/io.dart
@@ -100,7 +100,7 @@ String packageRootFor(String path, [String override]) {
throw new LoadException(path, "Directory $packageRoot does not exist.");
}
- return p.toUri(packageRoot).toString();
+ return packageRoot;
}
/// The library name must be globally unique, or the wrong library path may be
« no previous file with comments | « lib/src/runner/browser/compiler_pool.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698