Support for Dart 3.2.3
This commit is contained in:
parent
86efa8a8e6
commit
2e7a3ad7b6
8 changed files with 164 additions and 132 deletions
|
@ -127,7 +127,7 @@ Future<ArgParser> setupArgsParser() async {
|
|||
// Prints an error to stderr.
|
||||
Future<void> printError(CatError error) async {
|
||||
stderr.writeln(
|
||||
'$appName: ' + (error.hasPath ? '${error.path}: ' : '') + error.message);
|
||||
'$appName: ${error.hasPath ? '${error.path}: ' : ''}${error.message}');
|
||||
}
|
||||
|
||||
// Prints the version info.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue