diff --git a/news/2 Fixes/4047.md b/news/2 Fixes/4047.md new file mode 100644 index 000000000000..2a417b576d5e --- /dev/null +++ b/news/2 Fixes/4047.md @@ -0,0 +1 @@ +fix `pythonPath` typo (thanks [David Lechner](https://github.com/dlech)) diff --git a/src/client/extension.ts b/src/client/extension.ts index bb9d72540dbb..7f4e70f6c3ab 100644 --- a/src/client/extension.ts +++ b/src/client/extension.ts @@ -317,7 +317,7 @@ async function sendStartupTelemetry(activatedPromise: Promise, serviceConta function hasUserDefinedPythonPath(resource: Resource, serviceContainer: IServiceContainer) { const workspaceService = serviceContainer.get(IWorkspaceService); - const settings = workspaceService.getConfiguration('python', resource)!.inspect('pyhontPath')!; + const settings = workspaceService.getConfiguration('python', resource)!.inspect('pythonPath')!; return (settings.workspaceFolderValue && settings.workspaceFolderValue !== 'python') || (settings.workspaceValue && settings.workspaceValue !== 'python') || (settings.globalValue && settings.globalValue !== 'python');