Skip to content

Commit

Permalink
Update lib/src/parser/arg_parser_extension.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Angelov <felangelov@gmail.com>
  • Loading branch information
renancaraujo and felangel authored Dec 19, 2022
1 parent 0cfce32 commit 9309561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/parser/arg_parser_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension ArgParserExtension on ArgParser {
while (currentArgs.isNotEmpty) {
try {
return loosenOptionsGramamar.parse(currentArgs);
} catch (e) {
} catch (_) {
currentArgs = currentArgs.take(currentArgs.length - 1).toList();
}
}
Expand Down

0 comments on commit 9309561

Please sign in to comment.