Skip to content

Commit 25b32dd

Browse files
Merge pull request #3564 from PowerShell/andschwa/remove-deprecated-commands
Remove accidentally enabled commands
1 parent 9e666e0 commit 25b32dd

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

package.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939
"onCommand:PowerShell.RestartSession",
4040
"onCommand:PowerShell.EnableISEMode",
4141
"onCommand:PowerShell.DisableISEMode",
42-
"onCommand:PowerShell.RegisterExternalExtension",
43-
"onCommand:PowerShell.UnregisterExternalExtension",
44-
"onCommand:PowerShell.GetPowerShellVersionDetails",
4542
"onView:PowerShellCommands"
4643
],
4744
"dependencies": {
@@ -301,21 +298,6 @@
301298
"light": "media/resources/light/MovePanelBottom.svg",
302299
"dark": "media/resources/dark/MovePanelBottom.svg"
303300
}
304-
},
305-
{
306-
"command": "PowerShell.RegisterExternalExtension",
307-
"title": "Register an external extension",
308-
"category": "PowerShell"
309-
},
310-
{
311-
"command": "PowerShell.UnregisterExternalExtension",
312-
"title": "Unregister an external extension",
313-
"category": "PowerShell"
314-
},
315-
{
316-
"command": "PowerShell.GetPowerShellVersionDetails",
317-
"title": "Get details about the PowerShell version that the PowerShell extension is using",
318-
"category": "PowerShell"
319301
}
320302
],
321303
"menus": {

src/features/ExternalApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class ExternalApiFeature extends LanguageClientConsumer implements IPower
125125

126126
// TODO: When we have more than one API version, make sure to include a check here.
127127
const extension = ExternalApiFeature.registeredExternalExtension.get(uuid);
128-
this.log.writeDiagnostic(`Extension '${extension.id}' used command 'PowerShell.GetPowerShellVersionDetails'.`);
128+
this.log.writeDiagnostic(`Extension '${extension.id}' called 'getPowerShellVersionDetails'`);
129129

130130
await this.sessionManager.waitUntilStarted();
131131
const versionDetails = this.sessionManager.getPowerShellVersionDetails();

0 commit comments

Comments
 (0)