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 {
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}
Original file line number Diff line number Diff 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
107108export function deactivate ( ) : void {
You can’t perform that action at this time.
0 commit comments