Merge pull request #384 from heejaechang/mistypeOption

fixed typo in configoption file
This commit is contained in:
Eric Traut 2019-12-02 16:39:28 -08:00 committed by GitHub
commit b958b07a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

5
.gitignore vendored
View File

@ -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

View File

@ -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.`);