diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-14 17:07:20 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-14 17:07:20 -0800 |
commit | 1e50b9e35f0135df3cf5ad1fa102849757e1303a (patch) | |
tree | 00001197bfa7cc173dba0e290d6aa12b6fa8b0e6 /lib | |
parent | b3d72d3b30eaf257642424eedc574d72f66de4e0 (diff) | |
download | chef-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.rb | 2 |
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 |