| 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 9720506eff40780935541e1673fb37e3eb175047..ea7695e0657bbda77ed0bebb4771f3e3755591be 100644
|
| --- a/pkg/intl/test/message_extraction/extract_to_json.dart
|
| +++ b/pkg/intl/test/message_extraction/extract_to_json.dart
|
| @@ -20,9 +20,9 @@
|
| */
|
| library extract_to_json;
|
|
|
| +import 'dart:convert';
|
| import 'dart:io';
|
| import 'package:intl/extract_messages.dart';
|
| -import 'dart:json' as json;
|
| import 'package:path/path.dart' as path;
|
| import 'package:intl/src/intl_message.dart';
|
| import 'package:args/args.dart';
|
| @@ -50,7 +50,7 @@ main() {
|
| messages.forEach((k, v) => allMessages.add(toJson(v)));
|
| }
|
| var file = new File(path.join(targetDir, 'intl_messages.json'));
|
| - file.writeAsStringSync(json.stringify(allMessages));
|
| + file.writeAsStringSync(JSON.encode(allMessages));
|
| if (hasWarnings && warningsAreErrors) {
|
| exit(1);
|
| }
|
|
|