Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #149 from dart-lang/nnbd_deps
Browse files Browse the repository at this point in the history
fix null-safety issues
  • Loading branch information
pq authored Nov 20, 2020
2 parents 4c0ec37 + 6cb4350 commit 53e002a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/usage_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class AnalyticsImpl implements Analytics {
Future f = Future.wait(_futures).catchError((e) => null);

if (timeout != null) {
f = f.timeout(timeout, onTimeout: () => null);
f = f.timeout(timeout, onTimeout: () => []);
}

return f;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:

dev_dependencies:
pedantic: ^1.9.0
test: ^1.0.0
test: ^1.16.0-nullsafety

0 comments on commit 53e002a

Please sign in to comment.