From 84f29488d98db629c5a91d90186cc298b1b58acc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Sep 2025 14:06:30 +0000 Subject: [PATCH 1/3] chore(deps): bump very_good_analysis from 9.0.0 to 10.0.0 Bumps [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) from 9.0.0 to 10.0.0. - [Release notes](https://github.com/VeryGoodOpenSource/very_good_analysis/releases) - [Changelog](https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/CHANGELOG.md) - [Commits](https://github.com/VeryGoodOpenSource/very_good_analysis/compare/v9.0.0...v10.0.0) --- updated-dependencies: - dependency-name: very_good_analysis dependency-version: 10.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index cc45ea1..c3ef353 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -21,4 +21,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.4 test: ^1.25.8 - very_good_analysis: ^9.0.0 + very_good_analysis: ">=9.0.0 <11.0.0" From ab1634b8cfd0963ff10cff88377c2be4afc54681 Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 23 Sep 2025 09:51:15 -0300 Subject: [PATCH 2/3] fixing analyzer issue --- .../commands/handle_completion_command.dart | 9 ++------- test/src/installer/completion_configuration_test.dart | 1 - test/src/installer/completion_installation_test.dart | 5 ----- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/src/command_runner/commands/handle_completion_command.dart b/lib/src/command_runner/commands/handle_completion_command.dart index 7ec5286..b124c12 100644 --- a/lib/src/command_runner/commands/handle_completion_command.dart +++ b/lib/src/command_runner/commands/handle_completion_command.dart @@ -62,14 +62,9 @@ class HandleCompletionRequestCommand extends Command { } // Parse the completion level into completion suggestions - final completionResults = CompletionParser( - completionLevel: completionLevel, - ).parse(); - + CompletionParser(completionLevel: completionLevel).parse() // Render the completion suggestions - for (final completionResult in completionResults) { - runner.renderCompletionResult(completionResult); - } + .forEach(runner.renderCompletionResult); } on Exception { // Do not output any Exception here, since even error messages are // interpreted as completion suggestions diff --git a/test/src/installer/completion_configuration_test.dart b/test/src/installer/completion_configuration_test.dart index 351ec54..be3e789 100644 --- a/test/src/installer/completion_configuration_test.dart +++ b/test/src/installer/completion_configuration_test.dart @@ -1,5 +1,4 @@ // Not required for test files -// ignore_for_file: prefer_const_constructors import 'dart:collection'; import 'dart:io'; diff --git a/test/src/installer/completion_installation_test.dart b/test/src/installer/completion_installation_test.dart index 68b9903..aefea0b 100644 --- a/test/src/installer/completion_installation_test.dart +++ b/test/src/installer/completion_installation_test.dart @@ -225,7 +225,6 @@ void main() { expect(configFile.existsSync(), true); // Different format needed for matching cli output - // ignore: leading_newlines_in_multiline_strings expect(configFile.readAsStringSync(), ''' \n## [very_good] ## Completion config for "very_good" @@ -287,7 +286,6 @@ void main() { installation.writeToShellConfigFile('very_good'); // Different format needed for matching cli output - // ignore: leading_newlines_in_multiline_strings expect(rcFile.readAsStringSync(), ''' \n## [Completion] ## Completion scripts setup. Remove the following line to uninstall @@ -435,7 +433,6 @@ void main() { // rc fle includes one reference to the global config // Different format needed for matching cli output - // ignore: leading_newlines_in_multiline_strings expect(rcFile.readAsStringSync(), ''' \n## [Completion] ## Completion scripts setup. Remove the following line to uninstall @@ -450,7 +447,6 @@ void main() { ); // Different format needed for matching cli output - // ignore: leading_newlines_in_multiline_strings expect(globalConfig.readAsStringSync(), ''' \n## [very_good] ## Completion config for "very_good" @@ -491,7 +487,6 @@ void main() { ..install('not_good'); // Different format needed for matching cli output - // ignore: leading_newlines_in_multiline_strings expect(bashProfile.readAsStringSync(), ''' \n## [Completion] ## Completion scripts setup. Remove the following line to uninstall From 01565c9f77ae38bea2f984104604944ab2545868 Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 23 Sep 2025 09:57:33 -0300 Subject: [PATCH 3/3] tighen the vga version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index c3ef353..fe007f6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -21,4 +21,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.4 test: ^1.25.8 - very_good_analysis: ">=9.0.0 <11.0.0" + very_good_analysis: ">=10.0.0 <11.0.0"