瀏覽代碼

Fixes copy remote url not including line range

main
Eric Amodio 5 年之前
父節點
當前提交
1392fc2d65
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/commands/copyRemoteFileUrlToClipboard.ts

+ 1
- 1
src/commands/copyRemoteFileUrlToClipboard.ts 查看文件

@ -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…
取消
儲存