Skip to content

Commit 978f478

Browse files
committed
TDZ fix
1 parent 6c2f36c commit 978f478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@ function initMappers(options: InternalResolverOptions) {
414414
]),
415415
]
416416

417+
const processedPaths = new Set<string>()
418+
417419
mappers = projectPaths
418420
.flatMap(projectPath => {
419421
let tsconfigResult: TsConfigResult | null
@@ -429,8 +431,6 @@ function initMappers(options: InternalResolverOptions) {
429431
})
430432
.filter(isDefined)
431433

432-
const processedPaths = new Set<string>()
433-
434434
function getMapper(tsconfigResult: TsConfigResult | null): Mapper[] {
435435
const list: Mapper[] = []
436436

0 commit comments

Comments
 (0)