Skip to content

Commit

Permalink
Revert pipenv activation to not use pipenv shell (#4406)
Browse files Browse the repository at this point in the history
* reverted

* news entry

* CI coorected
  • Loading branch information
Kartik Raj authored Feb 15, 2019
1 parent fac5cc8 commit d30269b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/2 Fixes/4394.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Revert pipenv activation to not use `pipenv shell`
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import { inject, injectable } from 'inversify';
import { Uri } from 'vscode';
import '../../../common/extensions';
import { IInterpreterService, InterpreterType, IPipEnvService } from '../../../interpreter/contracts';
import { IWorkspaceService } from '../../application/types';
import { IFileSystem } from '../../platform/types';
Expand All @@ -20,7 +21,7 @@ export class PipEnvActivationCommandProvider implements ITerminalActivationComma
) { }

public isShellSupported(_targetShell: TerminalShellType): boolean {
return true;
return false;
}

public async getActivationCommands(resource: Uri | undefined, _: TerminalShellType): Promise<string[] | undefined> {
Expand Down

0 comments on commit d30269b

Please sign in to comment.