File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 555555 "description" : " Specifies whether you should be prompted to update your version of PowerShell." ,
556556 "default" : true
557557 },
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+ },
558563 "powershell.startAsLoginShell.osx" : {
559564 "type" : " boolean" ,
560565 "default" : true ,
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export interface ISettings {
8181 // This setting is no longer used but is here to assist in cleaning up the users settings.
8282 powerShellExePath ?: string ;
8383 promptToUpdatePowerShell ?: boolean ;
84+ promptToUpdatePackageManagement ?: boolean ;
8485 bundledModulesPath ?: string ;
8586 startAsLoginShell ?: IStartAsLoginShellSettings ;
8687 startAutomatically ?: boolean ;
@@ -201,6 +202,8 @@ export function load(): ISettings {
201202 configuration . get < string > ( "powerShellExePath" , undefined ) ,
202203 promptToUpdatePowerShell :
203204 configuration . get < boolean > ( "promptToUpdatePowerShell" , true ) ,
205+ promptToUpdatePackageManagement :
206+ configuration . get < boolean > ( "promptToUpdatePackageManagement" , true ) ,
204207 bundledModulesPath :
205208 "../../modules" ,
206209 useX86Host :
You can’t perform that action at this time.
0 commit comments