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

Unified Diff: utils/pub/path_source.dart

Issue 13332009: Make listDir and createSymlink synchronous in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 7 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 | « utils/pub/package.dart ('k') | utils/pub/source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/path_source.dart
diff --git a/utils/pub/path_source.dart b/utils/pub/path_source.dart
index 3b433a1c46fdca8f25416dc9c1dd4b8aa4eecb53..1d2b339d09afa889ea655b968ec9886ec605a4fe 100644
--- a/utils/pub/path_source.dart
+++ b/utils/pub/path_source.dart
@@ -47,9 +47,10 @@ class PathSource extends Source {
return false;
}
- return createPackageSymlink(id.name, id.description["path"], destination,
+ createPackageSymlink(id.name, id.description["path"], destination,
relative: id.description["relative"]);
- }).then((_) => true);
+ return true;
+ });
}
/// Parses a path dependency. This takes in a path string and returns a map.
« no previous file with comments | « utils/pub/package.dart ('k') | utils/pub/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698