summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-03-21 12:17:22 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-03-21 12:17:22 -0700
commitbd7c5c0fb7dfd6005a8e5bc3944f77230069445e (patch)
tree3b9c597340deea81ecb6c2199a4987de072c4812 /lib/chef/provider/package
parent8e9ea543502781d4e0f71a9d577f639c256171b1 (diff)
downloadchef-bd7c5c0fb7dfd6005a8e5bc3944f77230069445e.tar.gz
rubocop fixes from engine bump to 0.54.0lcg/rubocop-fixes
some cops got a little stricter. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/package')
-rw-r--r--lib/chef/provider/package/rpm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/rpm.rb b/lib/chef/provider/package/rpm.rb
index d3f9b2f5f0..3061ffccc5 100644
--- a/lib/chef/provider/package/rpm.rb
+++ b/lib/chef/provider/package/rpm.rb
@@ -118,7 +118,7 @@ class Chef
return false unless scheme
%w{http https ftp file}.include?(scheme.downcase)
rescue URI::InvalidURIError
- return false
+ false
end
end
end