| Index: lib/component_build.dart
|
| diff --git a/lib/component_build.dart b/lib/component_build.dart
|
| index 1a96b17f7a4ba9f7c3968562ba10c4e7618db8ff..b975328dca5934342c941e52f52f64f1901ee207 100644
|
| --- a/lib/component_build.dart
|
| +++ b/lib/component_build.dart
|
| @@ -20,7 +20,7 @@ library build_utils;
|
|
|
| import 'dart:async';
|
| import 'dart:io';
|
| -import 'dart:json' as json;
|
| +import 'dart:convert';
|
| import 'package:args/args.dart';
|
|
|
| import 'dwc.dart' as dwc;
|
| @@ -84,7 +84,7 @@ Future<List<dwc.CompilerResult>> build(List<String> arguments,
|
| if (machineFormat) {
|
| lastTask = lastTask.then((res) {
|
| appendMessage(Map jsonMessage) {
|
| - var message = json.stringify([jsonMessage]);
|
| + var message = JSON.encode([jsonMessage]);
|
| if (shouldPrint) print(message);
|
| res.messages.add(message);
|
| }
|
|
|