summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file/verification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/file/verification.rb')
-rw-r--r--lib/chef/resource/file/verification.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/resource/file/verification.rb b/lib/chef/resource/file/verification.rb
index e7530ce628..1237d09c99 100644
--- a/lib/chef/resource/file/verification.rb
+++ b/lib/chef/resource/file/verification.rb
@@ -16,9 +16,9 @@
# limitations under the License.
#
-require 'chef/exceptions'
-require 'chef/guard_interpreter'
-require 'chef/mixin/descendants_tracker'
+require "chef/exceptions"
+require "chef/guard_interpreter"
+require "chef/mixin/descendants_tracker"
class Chef
class Resource
@@ -109,9 +109,9 @@ class Chef
# First implementation interpolated `file`; docs & RFC claim `path`
# is interpolated. Until `file` can be deprecated, interpolate both.
Chef.log_deprecation(
- '%{file} is deprecated in verify command and will not be '\
- 'supported in Chef 13. Please use %{path} instead.'
- ) if @command.include?('%{file}')
+ "%{file} is deprecated in verify command and will not be "\
+ "supported in Chef 13. Please use %{path} instead."
+ ) if @command.include?("%{file}")
command = @command % {:file => path, :path => path}
interpreter = Chef::GuardInterpreter.for_resource(@parent_resource, command, @command_opts)
interpreter.evaluate