Skip to content

Commit a3b11f3

Browse files
Update lib/src/handling/parser.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
1 parent 0668c68 commit a3b11f3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/src/handling/parser.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ class CompletionParser {
1919

2020
/// Parse the given [CompletionState] into a [CompletionResult] given the
2121
/// structure of commands and options declared by the CLIs [ArgParser].
22-
List<CompletionResult> parse() {
23-
return _parse().toList();
24-
}
22+
List<CompletionResult> parse() => _parse().toList();
2523

2624
Iterable<CompletionResult> _parse() sync* {
2725
final rawArgs = completionLevel.rawArgs;

0 commit comments

Comments
 (0)