Style.
This commit is contained in:
parent
75920657b9
commit
dc6a9bdbee
1 changed files with 3 additions and 4 deletions
|
@ -943,14 +943,13 @@ module Harness {
|
||||||
public emitAll(ioHost?: IEmitterIOHost) {
|
public emitAll(ioHost?: IEmitterIOHost) {
|
||||||
this.compileFiles(this.inputFiles,
|
this.compileFiles(this.inputFiles,
|
||||||
/*otherFiles*/ [],
|
/*otherFiles*/ [],
|
||||||
/*onComplete*/ (result) => {
|
/*onComplete*/ result => {
|
||||||
result.files.forEach(writeFile);
|
result.files.forEach(writeFile);
|
||||||
result.declFilesCode.forEach(writeFile);
|
result.declFilesCode.forEach(writeFile);
|
||||||
result.sourceMaps.forEach(writeFile);
|
result.sourceMaps.forEach(writeFile);
|
||||||
},
|
},
|
||||||
/*settingsCallback*/ () => { },
|
/*settingsCallback*/ () => { },
|
||||||
this.compileOptions,
|
this.compileOptions);
|
||||||
/*currentDirectory*/ undefined);
|
|
||||||
|
|
||||||
function writeFile(file: GeneratedFile) {
|
function writeFile(file: GeneratedFile) {
|
||||||
ioHost.writeFile(file.fileName, file.code, false);
|
ioHost.writeFile(file.fileName, file.code, false);
|
||||||
|
|
Loading…
Reference in a new issue