minor refactor

This commit is contained in:
Ashita Prasad
2024-11-30 08:55:35 +05:30
parent bbe552d437
commit da1d0efc76
2 changed files with 5 additions and 6 deletions

View File

@ -3,3 +3,7 @@ import 'package:shlex/shlex.dart' as shlex;
List<String> splitAsCommandLineArgs(String command) {
return shlex.split(command);
}
String? clean(String? url) {
return url?.replaceAll('"', '').replaceAll("'", '');
}