From d473635f0dbb72936664696162127c2209986356 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Thu, 3 Dec 2020 11:14:37 -0800 Subject: [PATCH] Drop ignores for void_checks false positives (#504) The linked issue is resolved and this lint no longer surfaces here. --- lib/src/browser_client.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/browser_client.dart b/lib/src/browser_client.dart index 50c5d84179..d1eb35c1f5 100644 --- a/lib/src/browser_client.dart +++ b/lib/src/browser_client.dart @@ -53,8 +53,6 @@ class BrowserClient extends BaseClient { var completer = Completer(); - // 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( @@ -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.