Skip to content

Commit 64afaa4

Browse files
committed
small fix
1 parent ab1b596 commit 64afaa4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/servicesHost.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ function createWatchFactory(
382382
}
383383
return result;
384384
}
385-
``;
386385

387386
function invokeRecursiveDirectoryWatcher(
388387
directory: string,
@@ -800,10 +799,14 @@ export function makeSolutionBuilderHost(
800799
// The `configFilePath` is the same value that is used as the `project` parameter of
801800
// `getCustomtransformers` below.
802801
const project = options.configFilePath;
803-
if (typeof project === "string") {
802+
if (typeof project === 'string') {
804803
// Custom transformers need a reference to the `typescript.Program`, that reference is
805804
// unavailable during the the `getCustomTransformers` callback below.
806-
const transformers = getCustomTransformers(instance.loaderOptions, result.getProgram(), result.getProgram);
805+
const transformers = getCustomTransformers(
806+
instance.loaderOptions,
807+
result.getProgram(),
808+
result.getProgram
809+
);
807810
customTransformers.set(project, transformers);
808811
}
809812
}

0 commit comments

Comments
 (0)