Fix `configFile` path resolution (#617)
parent
f49c7e84a1
commit
72569b00dd
|
@ -1417,10 +1417,10 @@ class TW {
|
|||
([relativeConfigPath, relativeDocumentSelectorOrSelectors]) => {
|
||||
return {
|
||||
folder: base,
|
||||
configPath: path.join(base, relativeConfigPath),
|
||||
configPath: path.resolve(base, relativeConfigPath),
|
||||
documentSelector: []
|
||||
.concat(relativeDocumentSelectorOrSelectors)
|
||||
.map((selector) => path.join(base, selector)),
|
||||
.map((selector) => path.resolve(base, selector)),
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue