File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export function registerOpenInISECommand(): void {
23
23
//process = require('child_process');
24
24
//var filePath = convertUriToPath(editor.document.uri);
25
25
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 ( ) ;
27
27
28
28
} ) ;
29
29
}
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ export function activate(context: vscode.ExtensionContext): void {
102
102
registerExpandAliasCommand ( languageServerClient ) ;
103
103
registerShowHelpCommand ( languageServerClient ) ;
104
104
registerConsoleCommands ( languageServerClient ) ;
105
+ registerOpenInISECommand ( ) ;
105
106
}
106
107
107
108
export function deactivate ( ) : void {
You can’t perform that action at this time.
0 commit comments