summaryrefslogtreecommitdiff
path: root/lib/chef_zero/data_store/data_error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/data_store/data_error.rb')
-rw-r--r--lib/chef_zero/data_store/data_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/data_store/data_error.rb b/lib/chef_zero/data_store/data_error.rb
index b392e58..c528a4a 100644
--- a/lib/chef_zero/data_store/data_error.rb
+++ b/lib/chef_zero/data_store/data_error.rb
@@ -24,7 +24,7 @@ module ChefZero
def initialize(path, cause = nil)
@path = path
@cause = cause
- path_for_msg = path.nil? ? "nil" : "/#{path.join('/')}"
+ path_for_msg = path.nil? ? "nil" : "/#{path.join("/")}"
super "Data path: #{path_for_msg}"
end
end