File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 555
555
"description" : " Specifies whether you should be prompted to update your version of PowerShell." ,
556
556
"default" : true
557
557
},
558
+ "powershell.promptToUpdatePackageManagement" : {
559
+ "type" : " boolean" ,
560
+ "description" : " Specifies whether you should be prompted to update your version of PackageManagement if it's under 1.4.6." ,
561
+ "default" : true
562
+ },
558
563
"powershell.startAsLoginShell.osx" : {
559
564
"type" : " boolean" ,
560
565
"default" : true ,
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export interface ISettings {
81
81
// This setting is no longer used but is here to assist in cleaning up the users settings.
82
82
powerShellExePath ?: string ;
83
83
promptToUpdatePowerShell ?: boolean ;
84
+ promptToUpdatePackageManagement ?: boolean ;
84
85
bundledModulesPath ?: string ;
85
86
startAsLoginShell ?: IStartAsLoginShellSettings ;
86
87
startAutomatically ?: boolean ;
@@ -201,6 +202,8 @@ export function load(): ISettings {
201
202
configuration . get < string > ( "powerShellExePath" , undefined ) ,
202
203
promptToUpdatePowerShell :
203
204
configuration . get < boolean > ( "promptToUpdatePowerShell" , true ) ,
205
+ promptToUpdatePackageManagement :
206
+ configuration . get < boolean > ( "promptToUpdatePackageManagement" , true ) ,
204
207
bundledModulesPath :
205
208
"../../modules" ,
206
209
useX86Host :
You can’t perform that action at this time.
0 commit comments