From 2f853758f1e4788f5e0da059819ffb59e993ae4d Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 2 Dec 2020 14:15:41 -0800 Subject: [PATCH] Update harnessIO.ts --- src/harness/harnessIO.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harness/harnessIO.ts b/src/harness/harnessIO.ts index f77eaa04914..584c5cc9a97 100644 --- a/src/harness/harnessIO.ts +++ b/src/harness/harnessIO.ts @@ -923,7 +923,7 @@ namespace Harness { Baseline.runBaseline(baselinePath.replace(/\.tsx?/, ts.Extension.Js), jsCode.length > 0 ? tsCode + "\r\n\r\n" + jsCode : null); } - function fileOutput(file: documents.TextDocument, harnessSettings: TestCaseParser.CompilerSettings): string { + function fileOutput(file: documents.TextDocument, harnessSettings: HarnessOptions): string { const fileName = harnessSettings.fullEmitPaths ? Utils.removeTestPathPrefixes(file.file) : ts.getBaseFileName(file.file); return "//// [" + fileName + "]\r\n" + Utils.removeTestPathPrefixes(file.text); }