Index: pkg/pathos/lib/path.dart |
diff --git a/pkg/pathos/lib/path.dart b/pkg/pathos/lib/path.dart |
index 8d8307736b70141922c5434f8cb58ec0733da34e..80ffe72a57da05881db73e521e0753a0788d560b 100644 |
--- a/pkg/pathos/lib/path.dart |
+++ b/pkg/pathos/lib/path.dart |
@@ -40,7 +40,7 @@ void _growListFront(List list, int length, fillValue) { |
} |
/// Gets the path to the current working directory. |
-String get current => new io.Directory.current().path; |
+String get current => io.Directory.current.path; |
/// Gets the path separator for the current platform. On Mac and Linux, this |
/// is `/`. On Windows, it's `\`. |