From 744da86602635e3dab3474daeb89de0288907df9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:16:52 -0600 Subject: [PATCH] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /bricks/dart_frog_dev_server/hooks (#1639) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- bricks/dart_frog_dev_server/hooks/analysis_options.yaml | 2 +- bricks/dart_frog_dev_server/hooks/pre_gen.dart | 2 +- bricks/dart_frog_dev_server/hooks/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bricks/dart_frog_dev_server/hooks/analysis_options.yaml b/bricks/dart_frog_dev_server/hooks/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/bricks/dart_frog_dev_server/hooks/analysis_options.yaml +++ b/bricks/dart_frog_dev_server/hooks/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/bricks/dart_frog_dev_server/hooks/pre_gen.dart b/bricks/dart_frog_dev_server/hooks/pre_gen.dart index 67b82d947..4b637d9b4 100644 --- a/bricks/dart_frog_dev_server/hooks/pre_gen.dart +++ b/bricks/dart_frog_dev_server/hooks/pre_gen.dart @@ -23,7 +23,7 @@ Future preGen( final RouteConfiguration configuration; try { configuration = buildConfiguration(io.Directory.current); - } catch (error) { + } on Exception catch (error) { context.logger.err('$error'); return exit(1); } diff --git a/bricks/dart_frog_dev_server/hooks/pubspec.yaml b/bricks/dart_frog_dev_server/hooks/pubspec.yaml index 3eb2fbeea..d47f4f986 100644 --- a/bricks/dart_frog_dev_server/hooks/pubspec.yaml +++ b/bricks/dart_frog_dev_server/hooks/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: mocktail: ^1.0.0 path: ^1.8.2 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0