Skip to content

Commit dc6a9bd

Browse files
Style.
1 parent 7592065 commit dc6a9bd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/harness/harness.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ module Harness {
814814
sourceText: string,
815815
languageVersion: ts.ScriptTarget,
816816
assertInvariants: boolean) {
817-
817+
818818
// Only set the parent nodes if we're asserting invariants. We don't need them otherwise.
819819
var result = ts.createSourceFile(fileName, sourceText, languageVersion, /*setParentNodes:*/ assertInvariants);
820820

@@ -943,14 +943,13 @@ module Harness {
943943
public emitAll(ioHost?: IEmitterIOHost) {
944944
this.compileFiles(this.inputFiles,
945945
/*otherFiles*/ [],
946-
/*onComplete*/ (result) => {
946+
/*onComplete*/ result => {
947947
result.files.forEach(writeFile);
948948
result.declFilesCode.forEach(writeFile);
949949
result.sourceMaps.forEach(writeFile);
950950
},
951951
/*settingsCallback*/ () => { },
952-
this.compileOptions,
953-
/*currentDirectory*/ undefined);
952+
this.compileOptions);
954953

955954
function writeFile(file: GeneratedFile) {
956955
ioHost.writeFile(file.fileName, file.code, false);

0 commit comments

Comments
 (0)