mirror of
https://github.com/microsoft/pyright.git
synced 2024-11-09 13:35:59 +03:00
Merge pull request #384 from heejaechang/mistypeOption
fixed typo in configoption file
This commit is contained in:
commit
b958b07a70
5
.gitignore
vendored
5
.gitignore
vendored
@ -4,9 +4,12 @@ node_modules
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# vs cache directory
|
||||
.vs
|
||||
|
||||
# Output files
|
||||
dist
|
||||
server/out/
|
||||
client/out/
|
||||
client/server/
|
||||
client/*.vsix
|
||||
client/*.vsix
|
@ -805,7 +805,7 @@ export class ConfigOptions {
|
||||
|
||||
// Validate the pythonPlatform.
|
||||
if (envObj.pythonPlatform) {
|
||||
if (typeof envObj.root === 'string') {
|
||||
if (typeof envObj.pythonPlatform === 'string') {
|
||||
newExecEnv.pythonPlatform = envObj.pythonPlatform;
|
||||
} else {
|
||||
console.log(`Config executionEnvironments index ${ index } pythonPlatform must be a string.`);
|
||||
|
Loading…
Reference in New Issue
Block a user