Browse Source

Fixes open in remote with no current branch

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

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

@ -54,7 +54,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand {
return commands.executeCommand(Commands.OpenInRemote, uri, {
resource: {
type: gitUri.sha === undefined ? 'file' : 'revision',
branch: args.branch === undefined ? 'Current' : args.branch,
branch: args.branch,
fileName: gitUri.getRelativePath(),
range: range,
sha: gitUri.sha

Loading…
Cancel
Save