Skip to content

Commit

Permalink
Drop ignores for void_checks false positives (#504)
Browse files Browse the repository at this point in the history
The linked issue is resolved and this lint no longer surfaces here.
  • Loading branch information
natebosch authored Dec 3, 2020
1 parent 86fdb20 commit d473635
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/src/browser_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ class BrowserClient extends BaseClient {

var completer = Completer<StreamedResponse>();

// TODO(kevmoo): Waiting on https://github.com/dart-lang/linter/issues/2185
// ignore: void_checks
unawaited(xhr.onLoad.first.then((_) {
var body = (xhr.response as ByteBuffer).asUint8List();
completer.complete(StreamedResponse(
Expand All @@ -65,8 +63,6 @@ class BrowserClient extends BaseClient {
reasonPhrase: xhr.statusText));
}));

// TODO(kevmoo): Waiting on https://github.com/dart-lang/linter/issues/2185
// ignore: void_checks
unawaited(xhr.onError.first.then((_) {
// Unfortunately, the underlying XMLHttpRequest API doesn't expose any
// specific information about the error itself.
Expand Down

0 comments on commit d473635

Please sign in to comment.