Index: pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart |
diff --git a/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart |
index d07b5bc52dbec689ecce4c573201a7f331734a92..5003c726cb13653430ac0cdea56ed78d29aabf8a 100644 |
--- a/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart |
+++ b/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart |
@@ -48,7 +48,7 @@ class DirectoryDescriptor extends Descriptor { |
return Future.wait(contents.map((entry) { |
return new Future.of(() => entry.validateNow(fullPath)) |
.then((_) => null) |
- .catchError((e) => e.error); |
+ .catchError((e) => e); |
})).then((results) { |
var errors = results.where((e) => e != null); |
if (errors.isEmpty) return; |