Skip to content

Commit

Permalink
[Fix] ExportMap: add missing param to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored and ljharb committed Nov 6, 2022
1 parent 2e9379e commit 6a9d6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -28,6 +28,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
- [`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment ([#2330], thanks [@mhmadhamster])
- [`export`]: do not error on TS export overloads ([#1590], thanks [@ljharb])
- [`no-unresolved`], [`extensions`]: ignore type only exports ([#2436], thanks [@Lukas-Kullmann])
- [Fix] `ExportMap`: add missing param to function ([#2589], thanks [@Fdawgs])

### Changed
- [Tests] [`named`]: Run all TypeScript test ([#2427], thanks [@ProdigySim])
Expand Down Expand Up @@ -1021,6 +1022,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#2589]: https://github.com/import-js/eslint-plugin-import/pull/2589
[#2588]: https://github.com/import-js/eslint-plugin-import/pull/2588
[#2582]: https://github.com/import-js/eslint-plugin-import/pull/2582
[#2570]: https://github.com/import-js/eslint-plugin-import/pull/2570
Expand Down Expand Up @@ -1601,6 +1603,7 @@ for info on changes for earlier releases.
[@ernestostifano]: https://github.com/ernestostifano
[@ertrzyiks]: https://github.com/ertrzyiks
[@fa93hws]: https://github.com/fa93hws
[@Fdawgs]: https://github.com/Fdawgs
[@fengkfengk]: https://github.com/fengkfengk
[@fernandopasik]: https://github.com/fernandopasik
[@feychenie]: https://github.com/feychenie
Expand Down
2 changes: 1 addition & 1 deletion src/ExportMap.js
Expand Up @@ -547,7 +547,7 @@ ExportMap.parse = function (path, content, context) {

const source = makeSourceCode(content, ast);

function readTsConfig() {
function readTsConfig(context) {
const tsConfigInfo = tsConfigLoader({
cwd:
(context.parserOptions && context.parserOptions.tsconfigRootDir) ||
Expand Down

0 comments on commit 6a9d6f2

Please sign in to comment.