File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ export class NewFileOrProjectFeature extends LanguageClientConsumer {
16
16
super ( ) ;
17
17
this . command =
18
18
vscode . commands . registerCommand ( "PowerShell.NewProjectFromTemplate" , async ( ) => {
19
-
20
19
if ( ! this . languageClient && ! this . waitingForClientToken ) {
21
-
22
20
// If PowerShell isn't finished loading yet, show a loading message
23
21
// until the LanguageClient is passed on to us
24
22
this . waitingForClientToken = new vscode . CancellationTokenSource ( ) ;
@@ -131,8 +129,7 @@ export class NewFileOrProjectFeature extends LanguageClientConsumer {
131
129
} ) ;
132
130
133
131
if ( destinationPath !== undefined ) {
134
- // Show the PowerShell session output in case an error occurred
135
- await vscode . commands . executeCommand ( "PowerShell.ShowSessionOutput" ) ;
132
+ await vscode . commands . executeCommand ( "PowerShell.ShowSessionConsole" ) ;
136
133
137
134
const result = await this . languageClient ?. sendRequest (
138
135
NewProjectFromTemplateRequestType ,
You can’t perform that action at this time.
0 commit comments