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; |