Chromium Code Reviews

Unified Diff: lib/src/command.dart

Issue 1228093003: Fix several package spec bugs. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | lib/src/entrypoint.dart » ('j') | test/descriptor/packages.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/command.dart
diff --git a/lib/src/command.dart b/lib/src/command.dart
index 3a1647154f13554a9beef16b98a1e54cae5bd0de..582a42958ebe1dd39f3051a8b4f3882ed82353c5 100644
--- a/lib/src/command.dart
+++ b/lib/src/command.dart
@@ -42,7 +42,7 @@ abstract class PubCommand extends Command {
Entrypoint get entrypoint {
// Lazy load it.
if (_entrypoint == null) {
- _entrypoint = new Entrypoint(path.current, cache,
+ _entrypoint = new Entrypoint('.', cache,
packageSymlinks: globalResults['package-symlinks']);
}
return _entrypoint;
« no previous file with comments | « no previous file | lib/src/entrypoint.dart » ('j') | test/descriptor/packages.dart » ('J')

Powered by Google App Engine