Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion bin/querya_ext_tester.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ Options:
-h, --help show this help
''';

Future<int> main(List<String> args) async {
/// The exit code is set through `exitCode`: a Dart `main` cannot return one
/// (the `Future<int>` it used to return was ignored, so a failed run exited 0).
Future<void> main(List<String> args) async {
exitCode = await _run(args);
}

Future<int> _run(List<String> args) async {
String? dir;
var target = '0.5.0';
String? connect;
Expand Down
Loading