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

Unified Diff: utils/pub/io.dart

Issue 11411201: Fix or mark "pub lish" build failures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | utils/tests/pub/pub.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/io.dart
diff --git a/utils/pub/io.dart b/utils/pub/io.dart
index 2546827361cc495ebec8637ef722e57494d38f40..59aa7b43dc28ee6842d8612838ac5afb2a5a9622 100644
--- a/utils/pub/io.dart
+++ b/utils/pub/io.dart
@@ -785,7 +785,8 @@ InputStream createTarGz(List contents, {baseDir}) {
if (!isBeneath(entry, baseDir)) {
throw 'Entry $entry is not inside $baseDir.';
}
- return new Path(entry).relativeTo(new Path(baseDir)).toNativePath();
+ return new Path.fromNative(entry).relativeTo(new Path.fromNative(baseDir))
+ .toNativePath();
});
if (Platform.operatingSystem != "windows") {
« no previous file with comments | « no previous file | utils/tests/pub/pub.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698