We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97be1a7 commit bedd06bCopy full SHA for bedd06b
src/features/ISECompatibility.ts
@@ -30,9 +30,9 @@ export class ISECompatibilityFeature implements vscode.Disposable {
30
31
constructor() {
32
this.iseCommandRegistration = vscode.commands.registerCommand(
33
- "PowerShell.EnableISEMode", this.EnableISEMode);
+ "PowerShell.EnableISEMode", async () => { await this.EnableISEMode(); });
34
this.defaultCommandRegistration = vscode.commands.registerCommand(
35
- "PowerShell.DisableISEMode", this.DisableISEMode);
+ "PowerShell.DisableISEMode", async () => { await this.DisableISEMode(); } );
36
}
37
38
public dispose() {
0 commit comments