Index: lib/src/util/io.dart |
diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart |
index 39c336ac84ddff329fcecdc6fee2f9932b7110f5..4fd8c7e7a7e0e4ded2735a32555911441881d791 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 packageRoot; |
+ return p.toUri(packageRoot).toString(); |
} |
/// The library name must be globally unique, or the wrong library path may be |