Skip to content

Commit 08abb2d

Browse files
committed
Registered command
1 parent faa5e33 commit 08abb2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/features/OpenInISE.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function registerOpenInISECommand(): void {
2323
//process = require('child_process');
2424
//var filePath = convertUriToPath(editor.document.uri);
2525
var filePath = 'C:\temp\Get-ProductKey.ps1'
26-
require("child_process").exec("powershell_ise.exe -NoProfile -File " + filePath).unref();
26+
require("child_process").exec("powershell_ise.exe -NoProfile -File C:\temp\Get-ProductKey.ps1").unref();
2727

2828
});
2929
}

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export function activate(context: vscode.ExtensionContext): void {
102102
registerExpandAliasCommand(languageServerClient);
103103
registerShowHelpCommand(languageServerClient);
104104
registerConsoleCommands(languageServerClient);
105+
registerOpenInISECommand();
105106
}
106107

107108
export function deactivate(): void {

0 commit comments

Comments
 (0)