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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/source/cached.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
Index: sdk/lib/_internal/pub_generated/lib/src/source/cached.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/cached.dart b/sdk/lib/_internal/pub_generated/lib/src/source/cached.dart
similarity index 96%
copy from sdk/lib/_internal/pub/lib/src/source/cached.dart
copy to sdk/lib/_internal/pub_generated/lib/src/source/cached.dart
index 3775aa910728d1572f165d5600ab20769a58a8c7..95214712a45cd486dd7bd0e85e3d9aaaea6f135a 100644
--- a/sdk/lib/_internal/pub/lib/src/source/cached.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/source/cached.dart
@@ -32,7 +32,9 @@ abstract class CachedSource extends Source {
Future<Pubspec> doDescribe(PackageId id) {
return getDirectory(id).then((packageDir) {
if (fileExists(path.join(packageDir, "pubspec.yaml"))) {
- return new Pubspec.load(packageDir, systemCache.sources,
+ return new Pubspec.load(
+ packageDir,
+ systemCache.sources,
expectedName: id.name);
}
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/source.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/source/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698