refactor(redis_client): upgrade analysis_options (#2716)

This commit is contained in:
Felix Angelov
2024-12-19 11:57:28 -06:00
committed by GitHub
parent c5db92fa1a
commit beee8fe660
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
include: package:very_good_analysis/analysis_options.5.1.0.yaml
include: package:very_good_analysis/analysis_options.7.0.0.yaml
@@ -318,7 +318,7 @@ class RedisClient {
.then((_) => onConnectionClosed())
.catchError(onConnectionClosed),
);
} catch (error, stackTrace) {
} on Exception catch (error, stackTrace) {
onConnectionClosed(error, stackTrace);
}
}
+1 -1
View File
@@ -13,4 +13,4 @@ dependencies:
dev_dependencies:
test: ^1.19.2
very_good_analysis: ">=5.1.0 <7.0.0"
very_good_analysis: ^7.0.0
@@ -175,7 +175,7 @@ void main() {
try {
await client.execute(['RESET']);
await client.execute(['FLUSHALL']);
} catch (_) {
} on Exception {
// ignore
}
});
@@ -228,7 +228,7 @@ void main() {
try {
await client.execute(['RESET']);
await client.execute(['FLUSHALL']);
} catch (_) {
} on Exception {
// ignore
}
});