Skip to content

Commit

Permalink
Fix typo in pythonPath setting name
Browse files Browse the repository at this point in the history
Fixes #4047
  • Loading branch information
dlech committed Jan 18, 2019
1 parent 5f0153c commit 1caf79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ async function sendStartupTelemetry(activatedPromise: Promise<any>, serviceConta

function hasUserDefinedPythonPath(resource: Resource, serviceContainer: IServiceContainer) {
const workspaceService = serviceContainer.get<IWorkspaceService>(IWorkspaceService);
const settings = workspaceService.getConfiguration('python', resource)!.inspect<string>('pyhontPath')!;
const settings = workspaceService.getConfiguration('python', resource)!.inspect<string>('pythonPath')!;
return (settings.workspaceFolderValue && settings.workspaceFolderValue !== 'python') ||
(settings.workspaceValue && settings.workspaceValue !== 'python') ||
(settings.globalValue && settings.globalValue !== 'python');
Expand Down

0 comments on commit 1caf79c

Please sign in to comment.