Skip to content

Commit

Permalink
Format parse_args.dart with "dart format ." command
Browse files Browse the repository at this point in the history
  • Loading branch information
javaherisaber committed Sep 9, 2022
1 parent 08e4891 commit ed50fc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/common/parse_args.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
String parseArgs(List<String> args) {
final commandList = args
.map((arg) => arg.replaceAll(' ', '\\ ').replaceAll('(', '\\(').replaceAll(')', '\\)'))
.map((arg) => arg
.replaceAll(' ', '\\ ')
.replaceAll('(', '\\(')
.replaceAll(')', '\\)'))
.toList();
return commandList.join(' ');
}

0 comments on commit ed50fc4

Please sign in to comment.