Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove redundant .toString
`options.configFilePath` is always a string, there's no reason we need `toString()` too.
  • Loading branch information
feosuna1 authored Nov 25, 2022
commit 7c2048177939840e56624e6abe967c1af9a4386b
2 changes: 1 addition & 1 deletion src/servicesHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ export function makeSolutionBuilderHost(
if (options) {
// The `configFilePath` is the same value that is used as the `project` parameter of
// `getCustomtransformers` below.
const project = options.configFilePath?.toString();
const project = options.configFilePath;
if (project) {
// Custom transformers need a reference to the `typescript.Program`, that reference is
// unavailable during the the `getCustomTransformers` callback below.
Expand Down