We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915e05d commit 1ec6b05Copy full SHA for 1ec6b05
src/module-type-classifier.ts
@@ -31,7 +31,9 @@ export function createModuleTypeClassifier(
31
) {
32
const { patterns, basePath: _basePath } = options;
33
const basePath =
34
- _basePath !== undefined ? normalizeSlashes(_basePath).replace(/\/$/, '') : undefined;
+ _basePath !== undefined
35
+ ? normalizeSlashes(_basePath).replace(/\/$/, '')
36
+ : undefined;
37
38
const patternTypePairs = Object.entries(patterns ?? []).map(
39
([_pattern, type]) => {
0 commit comments