| Index: pkg/intl/test/message_extraction/extract_to_json.dart
|
| diff --git a/pkg/intl/test/message_extraction/extract_to_json.dart b/pkg/intl/test/message_extraction/extract_to_json.dart
|
| index 5b6f316d453b67e51d0ee172280d9792bbd80692..ce5c907704f8ff188469c7757f1134231384dd96 100644
|
| --- a/pkg/intl/test/message_extraction/extract_to_json.dart
|
| +++ b/pkg/intl/test/message_extraction/extract_to_json.dart
|
| @@ -34,9 +34,8 @@ main() {
|
| parser.addFlag("suppress-warnings", defaultsTo: false,
|
| callback: (x) => suppressWarnings = x);
|
|
|
| - void setTargetDir(value) => targetDir = value;
|
| -
|
| - parser.addOption("output-dir", defaultsTo: '.', callback: setTargetDir);
|
| + parser.addOption("output-dir", defaultsTo: '.',
|
| + callback: (value) => targetDir = value);
|
| parser.parse(args);
|
| if (args.length == 0) {
|
| print('Usage: extract_to_json [--output-dir=<dir>] [files.dart]');
|
|
|