Normalize document selector pattern (#708)
parent
0fab387f77
commit
7fdf6c437d
|
@ -1643,7 +1643,7 @@ class TW {
|
||||||
configPath: path.resolve(userDefinedConfigBase, relativeConfigPath),
|
configPath: path.resolve(userDefinedConfigBase, relativeConfigPath),
|
||||||
documentSelector: [].concat(relativeDocumentSelectorOrSelectors).map((selector) => ({
|
documentSelector: [].concat(relativeDocumentSelectorOrSelectors).map((selector) => ({
|
||||||
priority: DocumentSelectorPriority.USER_CONFIGURED,
|
priority: DocumentSelectorPriority.USER_CONFIGURED,
|
||||||
pattern: path.resolve(userDefinedConfigBase, selector),
|
pattern: normalizePath(path.resolve(userDefinedConfigBase, selector)),
|
||||||
})),
|
})),
|
||||||
isUserConfigured: true,
|
isUserConfigured: true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue