Skip to content

Commit bb2f7d0

Browse files
Merge pull request #4085 from github/robertbrignull/duplicate-enums
Remove duplicate enum
2 parents 7dec157 + 95cb221 commit bb2f7d0

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

extensions/ql-vscode/src/query-history/query-history-manager.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ import type { QueryRunner } from "../query-server";
5151
import type { VariantAnalysisManager } from "../variant-analysis/variant-analysis-manager";
5252
import type { VariantAnalysisHistoryItem } from "./variant-analysis-history-item";
5353
import { getTotalResultCount } from "../variant-analysis/shared/variant-analysis";
54-
import { HistoryTreeDataProvider } from "./history-tree-data-provider";
54+
import {
55+
HistoryTreeDataProvider,
56+
SortOrder,
57+
} from "./history-tree-data-provider";
5558
import type { QueryHistoryDirs } from "./query-history-dirs";
5659
import type { QueryHistoryCommands } from "../common/commands";
5760
import type { App } from "../common/app";
@@ -98,15 +101,6 @@ const SHOW_QUERY_TEXT_QUICK_EVAL_MSG = `\
98101
99102
`;
100103

101-
enum SortOrder {
102-
NameAsc = "NameAsc",
103-
NameDesc = "NameDesc",
104-
DateAsc = "DateAsc",
105-
DateDesc = "DateDesc",
106-
CountAsc = "CountAsc",
107-
CountDesc = "CountDesc",
108-
}
109-
110104
/**
111105
* Number of milliseconds two clicks have to arrive apart to be
112106
* considered a double-click.

0 commit comments

Comments
 (0)