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

Unified Diff: lib/src/source/path.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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: lib/src/source/path.dart
diff --git a/lib/src/source/path.dart b/lib/src/source/path.dart
index 000033bf4659fa89f9a4087714520d63426e02a2..a8f7075240501b716bc2e9ef051084d82a671e04 100644
--- a/lib/src/source/path.dart
+++ b/lib/src/source/path.dart
@@ -57,7 +57,7 @@ class PathSource extends Source {
});
}
- String getDirectory(PackageId id) => _validatePath(id.name, id.description);
+ String getDirectory(PackageId id) => id.description["path"];
/// Parses a path dependency.
///

Powered by Google App Engine
This is Rietveld 408576698