diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-20 12:46:37 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-20 12:46:37 -0700 |
commit | 3d451d7ff97d2ed999dd7bdf9d26c892df357347 (patch) | |
tree | 562372490c21d3024a412b848025317830d144b7 | |
parent | 40e7fb2153e3f2f06d08782295b00bb53e66396e (diff) | |
download | chef-3d451d7ff97d2ed999dd7bdf9d26c892df357347.tar.gz |
Chefstyle fix
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/package/pacman.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb index 518b3eb010..2de2d12579 100644 --- a/lib/chef/provider/package/pacman.rb +++ b/lib/chef/provider/package/pacman.rb @@ -56,6 +56,7 @@ class Chef unless pkg_data raise Chef::Exceptions::Package, "pacman does not have a version of package #{pkg}" end + @candidate_version << pkg_data[:candidate] if pkg_data[:installed] current_resource.version << (pkg_data[:current] || pkg_data[:candidate]) |