Skip to content

Commit 71b1a64

Browse files
committed
chore: make eslint happy
1 parent a1d020d commit 71b1a64

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import isNodeCoreModule from '@nolyfill/is-core-module'
55
import debug from 'debug'
66
import type { FileSystem, ResolveOptions, Resolver } from 'enhanced-resolve'
77
import enhancedResolve from 'enhanced-resolve'
8-
import { globSync } from 'tinyglobby'
98
import { createPathsMatcher, getTsconfig } from 'get-tsconfig'
109
import type { TsConfigResult } from 'get-tsconfig'
1110
import type { Version } from 'is-bun-module'
1211
import { isBunModule } from 'is-bun-module'
1312
import isGlob from 'is-glob'
1413
import stableHashExports from 'stable-hash'
14+
import { globSync } from 'tinyglobby'
1515

1616
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- esmodule interop
1717
const stableHash = stableHashExports.default || stableHashExports
@@ -391,10 +391,9 @@ function initMappers(options: InternalResolverOptions) {
391391
const projectPaths = [
392392
...new Set([
393393
...configPaths.filter(path => !isGlob(path)),
394-
...globSync(
395-
[...configPaths.filter(path => isGlob(path)), ...ignore],
396-
{ expandDirectories: false }
397-
),
394+
...globSync([...configPaths.filter(path => isGlob(path)), ...ignore], {
395+
expandDirectories: false,
396+
}),
398397
]),
399398
]
400399

0 commit comments

Comments
 (0)