Browse Source

Fixes copy remote url not including line range

main
Eric Amodio 5 years ago
parent
commit
1392fc2d65
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/commands/copyRemoteFileUrlToClipboard.ts

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

@ -24,7 +24,7 @@ export class CopyRemoteFileUrlToClipboardCommand extends ActiveEditorCommand {
}
protected preExecute(context: CommandContext, args: CopyRemoteFileUrlToClipboardCommandArgs = { range: true }) {
if (context.type === 'uri' || context.type === 'scm-states') {
if (context.type === 'uris' || context.type === 'scm-states') {
args = { ...args, range: false };
}
else if (isCommandViewContextWithCommit(context)) {

Loading…
Cancel
Save