Skip to content

Commit 1392fc2

Browse files
committed
Fixes copy remote url not including line range
1 parent 7db7f44 commit 1392fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/copyRemoteFileUrlToClipboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class CopyRemoteFileUrlToClipboardCommand extends ActiveEditorCommand {
2424
}
2525

2626
protected preExecute(context: CommandContext, args: CopyRemoteFileUrlToClipboardCommandArgs = { range: true }) {
27-
if (context.type === 'uri' || context.type === 'scm-states') {
27+
if (context.type === 'uris' || context.type === 'scm-states') {
2828
args = { ...args, range: false };
2929
}
3030
else if (isCommandViewContextWithCommit(context)) {

0 commit comments

Comments
 (0)