Skip to content

Commit 1ec6b05

Browse files
committed
fix
1 parent 915e05d commit 1ec6b05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/module-type-classifier.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export function createModuleTypeClassifier(
3131
) {
3232
const { patterns, basePath: _basePath } = options;
3333
const basePath =
34-
_basePath !== undefined ? normalizeSlashes(_basePath).replace(/\/$/, '') : undefined;
34+
_basePath !== undefined
35+
? normalizeSlashes(_basePath).replace(/\/$/, '')
36+
: undefined;
3537

3638
const patternTypePairs = Object.entries(patterns ?? []).map(
3739
([_pattern, type]) => {

0 commit comments

Comments
 (0)