Browse Source

Fixes regression with not opening line in remote

main
Eric Amodio 7 years ago
parent
commit
68fcbf713d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/commands/openFileInRemote.ts

+ 1
- 1
src/commands/openFileInRemote.ts View File

@ -16,7 +16,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand {
super(Commands.OpenFileInRemote);
}
protected async preExecute(context: CommandContext, args: OpenFileInRemoteCommandArgs = {}): Promise<any> {
protected async preExecute(context: CommandContext, args: OpenFileInRemoteCommandArgs = { range: true }): Promise<any> {
if (isCommandViewContextWithCommit(context)) {
args = { ...args };
args.range = false;

Loading…
Cancel
Save