Skip to content

Commit 8c12c03

Browse files
Jack Huangfacebook-github-bot
authored andcommitted
clean up side panel gating GK
Summary: This GK is not being used currently and has already been removed in D66968009. Thus going to clean up the remaining pieces. Reviewed By: evangrayk Differential Revision: D75556234 fbshipit-source-id: 1efa053998f790e814391d57eebe59118bb4212f
1 parent 418af4b commit 8c12c03

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

addons/vscode/extension/extension.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@ export async function activate(context: vscode.ExtensionContext) {
6060
context.subscriptions.push(new DeletedFileContentProvider());
6161
let inlineCommentsProvider;
6262
if (enabledSCMApiFeatures.has('comments') && Internal.inlineCommentsProvider) {
63-
inlineCommentsProvider = Internal.inlineCommentsProvider(
64-
context,
65-
reposList,
66-
ctx,
67-
enabledSCMApiFeatures.has('comments-v1'),
68-
);
63+
inlineCommentsProvider = Internal.inlineCommentsProvider(context, reposList, ctx, false);
6964
if (inlineCommentsProvider != null) {
7065
context.subscriptions.push(inlineCommentsProvider);
7166
}

addons/vscode/extension/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* diffview => diff commands, gutters. Requires 'sidebar'.
1313
* autoresolve => automatically mark merge conflicts as resolved on file save
1414
* */
15-
export type EnabledSCMApiFeature = 'blame' | 'sidebar' | 'autoresolve' | 'comments' | 'comments-v1';
15+
export type EnabledSCMApiFeature = 'blame' | 'sidebar' | 'autoresolve' | 'comments';

0 commit comments

Comments
 (0)