Fix build break.

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org/2346573002 .
This commit is contained in:
Jacob Richman 2016-09-14 13:07:34 -07:00
parent 866e4ea550
commit d858c4f2ae
2 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ void _writeModule(String outPath, String expectPath, ModuleFormat format,
if (errors.isNotEmpty && !errors.endsWith('\n')) errors += '\n';
new File(outPath + '.txt').writeAsStringSync(errors);
result.writeCodeSync(format, outPath + '.js');
result.writeCodeSync(format, false, outPath + '.js');
if (result.summaryBytes != null) {
new File(outPath + '.sum').writeAsBytesSync(result.summaryBytes);
@ -184,7 +184,7 @@ void _writeModule(String outPath, String expectPath, ModuleFormat format,
var expectFile = new File(expectPath + '.js');
if (result.isValid) {
result.writeCodeSync(format, expectFile.path);
result.writeCodeSync(format, false, expectFile.path);
} else {
expectFile.writeAsStringSync("//FAILED TO COMPILE");
}

View file

@ -129,7 +129,7 @@ class WebCompileCommand extends Command {
var moduleCode = module.isValid
? module
.getCode(ModuleFormat.legacy, unit.name, unit.name + '.map')
.getCode(ModuleFormat.legacy, false, unit.name, unit.name + '.map')
.code
: '';