Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixes to injection
  • Loading branch information
DonJayamanne committed Jun 5, 2019
commit 4856fed125cccf67af172bc81ac9dfdd03474557
2 changes: 1 addition & 1 deletion src/client/common/terminal/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class TerminalHelper implements ITerminalHelper {
@inject(ITerminalActivationCommandProvider) @named(TerminalActivationProviders.commandPromptAndPowerShell) private readonly commandPromptAndPowerShell: ITerminalActivationCommandProvider,
@inject(ITerminalActivationCommandProvider) @named(TerminalActivationProviders.pyenv) private readonly pyenv: ITerminalActivationCommandProvider,
@inject(ITerminalActivationCommandProvider) @named(TerminalActivationProviders.pipenv) private readonly pipenv: ITerminalActivationCommandProvider,
@inject(IConfigurationService) private readonly currentProcess: ICurrentProcess,
@inject(ICurrentProcess) private readonly currentProcess: ICurrentProcess,
@inject(IWorkspaceService) private readonly workspace: IWorkspaceService
) {
this.shellDetector = new ShellDetector(this.platform, this.currentProcess, this.workspace);
Expand Down
4 changes: 2 additions & 2 deletions src/client/common/terminal/shellDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { IWorkspaceService } from '../application/types';
import '../extensions';
import { traceVerbose } from '../logger';
import { IPlatformService } from '../platform/types';
import { IConfigurationService, ICurrentProcess } from '../types';
import { ICurrentProcess } from '../types';
import { OSType } from '../utils/platform';
import { TerminalShellType } from './types';

Expand Down Expand Up @@ -59,7 +59,7 @@ detectableShells.set(TerminalShellType.xonsh, IS_XONSH);
@injectable()
export class ShellDetector {
constructor(@inject(IPlatformService) private readonly platform: IPlatformService,
@inject(IConfigurationService) private readonly currentProcess: ICurrentProcess,
@inject(ICurrentProcess) private readonly currentProcess: ICurrentProcess,
@inject(IWorkspaceService) private readonly workspace: IWorkspaceService
) { }
/**
Expand Down