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;