Index: lib/src/source/path.dart |
diff --git a/lib/src/source/path.dart b/lib/src/source/path.dart |
index 8786968a81df58f3662b0724855cad6ce15f9694..000033bf4659fa89f9a4087714520d63426e02a2 100644 |
--- a/lib/src/source/path.dart |
+++ b/lib/src/source/path.dart |
@@ -57,8 +57,7 @@ class PathSource extends Source { |
}); |
} |
- Future<String> getDirectory(PackageId id) => |
- newFuture(() => _validatePath(id.name, id.description)); |
+ String getDirectory(PackageId id) => _validatePath(id.name, id.description); |
/// Parses a path dependency. |
/// |