From ece277ea4b4050a1c02404f09be334def291d447 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 27 Mar 2023 01:57:05 -0400 Subject: [PATCH] context --- src/commands/gitCommands.utils.ts | 1 - src/trackers/documentTracker.ts | 1 - src/views/nodes/fileHistoryTrackerNode.ts | 1 - src/webviews/rebase/rebaseEditor.ts | 1 - src/webviews/settings/registration.ts | 2 +- src/webviews/welcome/registration.ts | 2 +- 6 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/commands/gitCommands.utils.ts b/src/commands/gitCommands.utils.ts index 0df0b87..dd5191d 100644 --- a/src/commands/gitCommands.utils.ts +++ b/src/commands/gitCommands.utils.ts @@ -1,5 +1,4 @@ import { GitCommandSorting } from '../config'; -import { ContextKeys } from '../constants'; import type { Container } from '../container'; import { getContext } from '../context'; import type { RecentUsage } from '../storage'; diff --git a/src/trackers/documentTracker.ts b/src/trackers/documentTracker.ts index 715b007..8890634 100644 --- a/src/trackers/documentTracker.ts +++ b/src/trackers/documentTracker.ts @@ -10,7 +10,6 @@ import type { TextLine, } from 'vscode'; import { Disposable, EndOfLine, env, EventEmitter, Uri, window, workspace } from 'vscode'; -import { ContextKeys } from '../constants'; import type { Container } from '../container'; import { setContext } from '../context'; import type { RepositoriesChangeEvent } from '../git/gitProviderService'; diff --git a/src/views/nodes/fileHistoryTrackerNode.ts b/src/views/nodes/fileHistoryTrackerNode.ts index 813a7b2..c137c2c 100644 --- a/src/views/nodes/fileHistoryTrackerNode.ts +++ b/src/views/nodes/fileHistoryTrackerNode.ts @@ -1,6 +1,5 @@ import type { TextEditor } from 'vscode'; import { Disposable, FileType, TreeItem, TreeItemCollapsibleState, window, workspace } from 'vscode'; -import { ContextKeys } from '../../constants'; import { setContext } from '../../context'; import type { GitCommitish } from '../../git/gitUri'; import { GitUri, unknownGitUri } from '../../git/gitUri'; diff --git a/src/webviews/rebase/rebaseEditor.ts b/src/webviews/rebase/rebaseEditor.ts index 0faf900..36d1604 100644 --- a/src/webviews/rebase/rebaseEditor.ts +++ b/src/webviews/rebase/rebaseEditor.ts @@ -9,7 +9,6 @@ import { ConfigurationTarget, Disposable, Position, Range, Uri, window, workspac import { getNonce } from '@env/crypto'; import { ShowCommitsInViewCommand } from '../../commands'; import type { CoreConfiguration } from '../../constants'; -import { ContextKeys } from '../../constants'; import type { Container } from '../../container'; import { emojify } from '../../emojis'; import type { GitCommit } from '../../git/models/commit'; diff --git a/src/webviews/settings/registration.ts b/src/webviews/settings/registration.ts index 5d8fe3d..0720327 100644 --- a/src/webviews/settings/registration.ts +++ b/src/webviews/settings/registration.ts @@ -1,5 +1,5 @@ import { Disposable } from 'vscode'; -import { Commands, ContextKeys } from '../../constants'; +import { Commands } from '../../constants'; import { registerCommand } from '../../system/command'; import type { WebviewPanelProxy, WebviewsController } from '../webviewsController'; import type { State } from './protocol'; diff --git a/src/webviews/welcome/registration.ts b/src/webviews/welcome/registration.ts index d358ffb..6962c04 100644 --- a/src/webviews/welcome/registration.ts +++ b/src/webviews/welcome/registration.ts @@ -1,4 +1,4 @@ -import { Commands, ContextKeys } from '../../constants'; +import { Commands } from '../../constants'; import type { WebviewsController } from '../webviewsController'; import type { State } from './protocol';