From 68fcbf713d02baf162f6057c3033b2b768cb240d Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 5 Sep 2017 21:29:22 -0400 Subject: [PATCH] Fixes regression with not opening line in remote --- src/commands/openFileInRemote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/openFileInRemote.ts b/src/commands/openFileInRemote.ts index 0d2ad06..c7be70d 100644 --- a/src/commands/openFileInRemote.ts +++ b/src/commands/openFileInRemote.ts @@ -16,7 +16,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand { super(Commands.OpenFileInRemote); } - protected async preExecute(context: CommandContext, args: OpenFileInRemoteCommandArgs = {}): Promise { + protected async preExecute(context: CommandContext, args: OpenFileInRemoteCommandArgs = { range: true }): Promise { if (isCommandViewContextWithCommit(context)) { args = { ...args }; args.range = false;