Skip to content

Commit 3a89490

Browse files
committed
chore: remove showNodeSystemCertificates command
1 parent c77d5d9 commit 3a89490

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

extensions/copilot/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2487,11 +2487,6 @@
24872487
"title": "%github.copilot.command.collectDiagnostics%",
24882488
"category": "Developer"
24892489
},
2490-
{
2491-
"command": "github.copilot.debug.showNodeSystemCertificates",
2492-
"title": "%github.copilot.command.showNodeSystemCertificates%",
2493-
"category": "Developer"
2494-
},
24952490
{
24962491
"command": "github.copilot.debug.inlineEdit.clearCache",
24972492
"title": "%github.copilot.command.inlineEdit.clearCache%",

extensions/copilot/package.nls.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@
208208
"github.copilot.chat.attachFile": "Add File to Chat",
209209
"github.copilot.chat.attachSelection": "Add Selection to Chat",
210210
"github.copilot.command.collectDiagnostics": "Chat Diagnostics",
211-
"github.copilot.command.showNodeSystemCertificates": "Show Node.js System Certificates",
212211
"github.copilot.command.inlineEdit.clearCache": "Clear Inline Suggestion Cache",
213212
"github.copilot.command.inlineEdit.reportNotebookNESIssue": "Report Notebook Inline Suggestion Issue",
214213
"github.copilot.command.showNotebookLog": "Show Chat Log Notebook",

extensions/copilot/src/extension/log/vscode-node/loggingActions.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,17 +250,6 @@ In corporate networks: [Troubleshooting firewall settings for GitHub Copilot](ht
250250
// Internal command is not declared in package.json so it can be used from the welcome views while the extension is being activated.
251251
this._context.subscriptions.push(vscode.commands.registerCommand('github.copilot.debug.collectDiagnostics.internal', collectDiagnostics));
252252
this._context.subscriptions.push(vscode.commands.registerCommand('github.copilot.debug.showOutputChannel.internal', () => outputChannel.show()));
253-
this._context.subscriptions.push(vscode.commands.registerCommand('github.copilot.debug.showNodeSystemCertificates', async () => {
254-
const result: Record<string, unknown> = {};
255-
try {
256-
const certs = tls.getCACertificates('system');
257-
result.certificateCount = Array.isArray(certs) ? certs.length : 'unavailable';
258-
} catch (err: any) {
259-
result.certificateCount = `Error: ${err?.message}`;
260-
}
261-
const document = await vscode.workspace.openTextDocument({ language: 'json', content: JSON.stringify(result, null, 2) });
262-
await vscode.window.showTextDocument(document);
263-
}));
264253
this._context.subscriptions.push(new NetworkStatus(this.fetcherService, this.configurationService, this.experimentationService));
265254
}
266255

0 commit comments

Comments
 (0)