Skip to content

Commit f8efcce

Browse files
authored
Merge branch 'main' into dependabot/pub/example/very_good_analysis-7.0.0
2 parents 8ad57c3 + a5fd323 commit f8efcce

16 files changed

+21
-9
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.6.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml

example/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:very_good_analysis/analysis_options.6.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml
22
linter:
33
rules:
44
public_member_api_docs: false

example/lib/example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
/// # see usage
88
/// example_cli --help
99
/// ```
10-
library example;
10+
library;

example/test/integration/completion_integration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@Tags(['integration'])
2-
library integration_tests;
2+
library;
33

44
import 'package:test/test.dart';
55

lib/cli_completion.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the completion command runner based elements to add completion to
22
/// dart command line applications.
3-
library cli_completion;
3+
library;
44

55
export 'src/command_runner/commands/commands.dart';
66
export 'src/command_runner/completion_command_runner.dart';

lib/installer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the functions related to the installation process
22
/// {@canonicalFor system_shell.SystemShell}
3-
library installer;
3+
library;
44

55
export 'src/installer/installer.dart';
66
export 'src/system_shell.dart';

lib/parser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the classes and functions related to the creation of suggestions
22
/// for the completion of commands.
3-
library parser;
3+
library;
44

55
export 'src/parser/completion_level.dart';
66
export 'src/parser/completion_result.dart';

lib/src/parser/arg_parser_extension.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension ArgParserExtension on ArgParser {
2323
while (currentArgs.isNotEmpty) {
2424
try {
2525
return loosenOptionsGramamar.parse(currentArgs);
26-
} catch (_) {
26+
} on Exception catch (_) {
2727
currentArgs = currentArgs.take(currentArgs.length - 1).toList();
2828
}
2929
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ dependencies:
2121
dev_dependencies:
2222
mocktail: ^1.0.4
2323
test: ^1.25.8
24-
very_good_analysis: ^6.0.0
24+
very_good_analysis: ^7.0.0

test/src/command_runner/commands/handle_completion_command_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class _TestCompletionCommandRunner extends CompletionCommandRunner<int> {
2424
String get executableName => 'test_cli';
2525

2626
@override
27+
// Override acceptable for test files
2728
// ignore: overridden_fields
2829
final Logger completionLogger = MockLogger();
2930
}

0 commit comments

Comments
 (0)