summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-20 12:46:37 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-20 12:46:37 -0700
commit3d451d7ff97d2ed999dd7bdf9d26c892df357347 (patch)
tree562372490c21d3024a412b848025317830d144b7
parent40e7fb2153e3f2f06d08782295b00bb53e66396e (diff)
downloadchef-3d451d7ff97d2ed999dd7bdf9d26c892df357347.tar.gz
Chefstyle fix
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/provider/package/pacman.rb1
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])