Skip to content

Commit

Permalink
fix(typescript-declarations): Pass config file directory to paseJsonC…
Browse files Browse the repository at this point in the history
…onfigFIleContent
  • Loading branch information
Michael Croes committed Sep 26, 2022
1 parent 5773cef commit 9888c97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function nonMemoizedGetProgram(typescript: TS, configFileName: string) {
let thing = typescript.parseJsonConfigFileContent(
result.config,
typescript.sys,
process.cwd(),
path.dirname(configFileName),
undefined,
configFileName
);
Expand Down

0 comments on commit 9888c97

Please sign in to comment.