Support for Dart 3.2.3

This commit is contained in:
Erik C. Thauvin 2023-12-15 12:49:58 -08:00
parent 86efa8a8e6
commit 2e7a3ad7b6
8 changed files with 164 additions and 132 deletions

View file

@ -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.