Skip to content

Commit

Permalink
Fix lints in neat_cache (google#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj authored Apr 28, 2023
1 parent 2ce3ea0 commit fe56224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions neat_cache/lib/src/providers/redis.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ class RedisCacheProvider extends CacheProvider<List<int>> {

// Force close the client
scheduleMicrotask(() => client.close(force: true));

return null;
});

@override
Expand Down
2 changes: 1 addition & 1 deletion neat_cache/lib/src/providers/resp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class RespClient {
try {
final quit = command(['QUIT']);
scheduleMicrotask(() async {
await quit.catchError((_) {/* ignore */});
await quit.catchError((_) => null);
});
} catch (_) {
// ignore
Expand Down

0 comments on commit fe56224

Please sign in to comment.