瀏覽代碼

Removes bogus code

main
Eric Amodio 2 年之前
父節點
當前提交
a6287b109c
共有 2 個文件被更改,包括 2 次插入20 次删除
  1. +1
    -10
      src/views/nodes/autolinkedItemNode.ts
  2. +1
    -10
      src/views/nodes/autolinkedItemsNode.ts

+ 1
- 10
src/views/nodes/autolinkedItemNode.ts 查看文件

@ -2,20 +2,11 @@ import { MarkdownString, ThemeIcon, TreeItem, TreeItemCollapsibleState } from 'v
import { Autolink } from '../../annotations/autolinks';
import { AutolinkType } from '../../config';
import { GitUri } from '../../git/gitUri';
import { GitFile, IssueOrPullRequest, IssueOrPullRequestType } from '../../git/models';
import { IssueOrPullRequest, IssueOrPullRequestType } from '../../git/models';
import { fromNow } from '../../system/date';
import { ViewsWithCommits } from '../viewBase';
import { ContextValues, ViewNode } from './viewNode';
export interface FilesQueryResults {
label: string;
files: GitFile[] | undefined;
filtered?: {
filter: 'left' | 'right';
files: GitFile[];
};
}
export class AutolinkedItemNode extends ViewNode<ViewsWithCommits> {
constructor(
view: ViewsWithCommits,

+ 1
- 10
src/views/nodes/autolinkedItemsNode.ts 查看文件

@ -1,7 +1,7 @@
import { TreeItem, TreeItemCollapsibleState } from 'vscode';
import type { Autolink } from '../../annotations/autolinks';
import { GitUri } from '../../git/gitUri';
import { GitFile, GitLog, IssueOrPullRequest, PullRequest } from '../../git/models';
import { GitLog, IssueOrPullRequest, PullRequest } from '../../git/models';
import { gate } from '../../system/decorators/gate';
import { debug } from '../../system/decorators/log';
import { union } from '../../system/iterable';
@ -12,15 +12,6 @@ import { LoadMoreNode, MessageNode } from './common';
import { PullRequestNode } from './pullRequestNode';
import { ContextValues, ViewNode } from './viewNode';
export interface FilesQueryResults {
label: string;
files: GitFile[] | undefined;
filtered?: {
filter: 'left' | 'right';
files: GitFile[];
};
}
let instanceId = 0;
export class AutolinkedItemsNode extends ViewNode<ViewsWithCommits> {

||||||
x
 
000:0
Loading…
取消
儲存