diff --git a/LSUClient.psd1 b/LSUClient.psd1 index b5b9529..d635b70 100644 --- a/LSUClient.psd1 +++ b/LSUClient.psd1 @@ -3,7 +3,7 @@ RootModule = 'LSUClient.psm1' # Version number of this module. - ModuleVersion = '1.5.1' + ModuleVersion = '1.5.2' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/public/Get-LSUpdate.ps1 b/public/Get-LSUpdate.ps1 index 0feb24c..8cf3a92 100644 --- a/public/Get-LSUpdate.ps1 +++ b/public/Get-LSUpdate.ps1 @@ -168,7 +168,7 @@ New-Variable -Name PackageList -Option Private -Value ( [System.Collections.Generic.List[LenovoPackage]]::new() ) # This variable will hold additional metadata that needs to be referenced from nested scopes (functions) during dependency tests - New-Variable -Name AllPackagesDependenciesInfo -Option AllScope -Value ( [System.Collections.Generic.Dictionary[string, PackageDependenciesInfo]]::new() ) + New-Variable -Name AllPackagesDependenciesInfo -Option AllScope, ReadOnly -Value ( [System.Collections.Generic.Dictionary[string, PackageDependenciesInfo]]::new() ) } process {