summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-12-14 17:07:20 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-12-14 17:07:20 -0800
commit1e50b9e35f0135df3cf5ad1fa102849757e1303a (patch)
tree00001197bfa7cc173dba0e290d6aa12b6fa8b0e6 /lib
parentb3d72d3b30eaf257642424eedc574d72f66de4e0 (diff)
downloadchef-1e50b9e35f0135df3cf5ad1fa102849757e1303a.tar.gz
fix chefstyle
dunno why it suddenly got annoyed at me Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/dnf_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/dnf_package.rb b/lib/chef/resource/dnf_package.rb
index 84f15fae7a..49bf44bd8b 100644
--- a/lib/chef/resource/dnf_package.rb
+++ b/lib/chef/resource/dnf_package.rb
@@ -55,7 +55,7 @@ class Chef
}
def allow_downgrade(arg = nil)
- if arg != nil
+ if !arg.nil?
Chef.deprecated(:dnf_package_allow_downgrade, "the allow_downgrade property on the dnf_package provider is not used, DNF supports downgrades by default.")
end
false