Skip to content

Commit 536f59c

Browse files
committed
fix formatting
1 parent 78d8e80 commit 536f59c

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

src/testRunner/unittests/tsserver/compileOnSave.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -565,46 +565,46 @@ namespace ts.projectSystem {
565565

566566
it("should return empty array if change is made in a global declaration file", () => {
567567
testDTS(
568-
/*dtsFileContents*/ "declare const x: string;",
569-
/*tsFileContents*/ "var y = 1;",
570-
/*opts*/ {},
571-
/*expectDTSEmit*/ false
568+
/*dtsFileContents*/ "declare const x: string;",
569+
/*tsFileContents*/ "var y = 1;",
570+
/*opts*/ {},
571+
/*expectDTSEmit*/ false
572572
);
573573
});
574574

575575
it("should return empty array if change is made in a module declaration file", () => {
576576
testDTS(
577-
/*dtsFileContents*/ "export const x: string;",
578-
/*tsFileContents*/ "import { x } from './runtime/a;",
579-
/*opts*/ {},
580-
/*expectDTSEmit*/ false
577+
/*dtsFileContents*/ "export const x: string;",
578+
/*tsFileContents*/ "import { x } from './runtime/a;",
579+
/*opts*/ {},
580+
/*expectDTSEmit*/ false
581581
);
582582
});
583583

584584
it("should return results if change is made in a global declaration file with declaration emit", () => {
585585
testDTS(
586-
/*dtsFileContents*/ "declare const x: string;",
587-
/*tsFileContents*/ "var y = 1;",
588-
/*opts*/ { declaration: true },
589-
/*expectDTSEmit*/ true
586+
/*dtsFileContents*/ "declare const x: string;",
587+
/*tsFileContents*/ "var y = 1;",
588+
/*opts*/ { declaration: true },
589+
/*expectDTSEmit*/ true
590590
);
591591
});
592592

593593
it("should return results if change is made in a global declaration file with composite enabled", () => {
594594
testDTS(
595-
/*dtsFileContents*/ "declare const x: string;",
596-
/*tsFileContents*/ "var y = 1;",
597-
/*opts*/ { composite: true },
598-
/*expectDTSEmit*/ true
595+
/*dtsFileContents*/ "declare const x: string;",
596+
/*tsFileContents*/ "var y = 1;",
597+
/*opts*/ { composite: true },
598+
/*expectDTSEmit*/ true
599599
);
600600
});
601601

602602
it("should return results if change is made in a global declaration file with decorator emit enabled", () => {
603603
testDTS(
604-
/*dtsFileContents*/ "declare const x: string;",
605-
/*tsFileContents*/ "var y = 1;",
606-
/*opts*/ { experimentalDecorators: true, emitDecoratorMetadata: true },
607-
/*expectDTSEmit*/ true
604+
/*dtsFileContents*/ "declare const x: string;",
605+
/*tsFileContents*/ "var y = 1;",
606+
/*opts*/ { experimentalDecorators: true, emitDecoratorMetadata: true },
607+
/*expectDTSEmit*/ true
608608
);
609609
});
610610
});

src/tsserver/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ namespace ts.server {
181181
switch (type) {
182182
case Msg.Info:
183183
perfLogger.logInfoEvent(s);
184-
break;
184+
break;
185185
case Msg.Perf:
186186
perfLogger.logPerfEvent(s);
187-
break;
187+
break;
188188
default: // Msg.Err
189189
perfLogger.logErrEvent(s);
190-
break;
190+
break;
191191
}
192192

193193
if (!this.canWrite) return;

0 commit comments

Comments
 (0)