File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { ILogger } from "../logging";
66import { ConnectionStatus } from '../interfaces' ;
77import { PuppetCommandStrings } from '../messages' ;
88import { IAggregateConfiguration } from "../configuration" ;
9+ import { ProtocolType } from "../settings" ;
910
1011class PuppetStatusBarProvider {
1112 private statusBarItem : vscode . StatusBarItem ;
@@ -80,7 +81,11 @@ class PuppetStatusBarProvider {
8081 ( ) => { vscode . commands . executeCommand ( PuppetCommandStrings . PuppetShowConnectionLogsCommandId ) ; } ) ,
8182 ) ;
8283
83- if ( this . config . ruby . pdkPuppetVersions !== undefined && this . config . ruby . pdkPuppetVersions . length > 0 ) {
84+ if (
85+ this . config . ruby . pdkPuppetVersions !== undefined &&
86+ this . config . ruby . pdkPuppetVersions . length > 0 &&
87+ this . config . connection . protocol != ProtocolType . TCP
88+ ) {
8489 // Add a static menu item to use the latest version
8590 menuItems . push (
8691 new PuppetConnectionMenuItem (
You can’t perform that action at this time.
0 commit comments