mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Added missing path normalization for typeshedPath setting.
This commit is contained in:
parent
a14ffc0a32
commit
3389ca388b
@ -692,7 +692,7 @@ export class ConfigOptions {
|
||||
if (typeof configObj.typeshedPath !== 'string') {
|
||||
console.log(`Config "typeshedPath" field must contain a string.`);
|
||||
} else {
|
||||
this.typeshedPath = configObj.typeshedPath;
|
||||
this.typeshedPath = normalizePath(combinePaths(this.projectRoot, configObj.typeshedPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user