summaryrefslogtreecommitdiff
path: root/lib/chef/provider/file.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-11-04 14:15:19 -0800
committerTim Smith <tsmith84@gmail.com>2019-11-04 14:15:19 -0800
commit950f7f127d585eff203db8bd0b4904ca9282b6fd (patch)
tree32a58e2a98959497f26488c2f387c5800cdf54c1 /lib/chef/provider/file.rb
parent72352921c1b03957fdf39794737f45c88a9346ba (diff)
downloadchef-950f7f127d585eff203db8bd0b4904ca9282b6fd.tar.gz
Updates for Chefstyle with Rubocop 0.75.1
This update found a few things that should have been triggering before. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r--lib/chef/provider/file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb
index 054b9718c3..7f4de1eaef 100644
--- a/lib/chef/provider/file.rb
+++ b/lib/chef/provider/file.rb
@@ -84,7 +84,7 @@ class Chef
end
# true if we are going to be creating a new file
- @needs_creating = !::File.exist?(new_resource.path) || needs_unlinking?
+ @needs_creating = !::File.exist?(new_resource.path) || needs_unlinking?
# Let children resources override constructing the current_resource
@current_resource ||= Chef::Resource::File.new(new_resource.name)