summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/create_path.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/create_path.rb')
-rw-r--r--lib/chef/mixin/create_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/create_path.rb b/lib/chef/mixin/create_path.rb
index 547224dda9..ee0f80448f 100644
--- a/lib/chef/mixin/create_path.rb
+++ b/lib/chef/mixin/create_path.rb
@@ -35,7 +35,7 @@ class Chef
if file_path.kind_of?(String)
file_path = File.expand_path(file_path).split(File::SEPARATOR)
- file_path.shift if file_path[0] == ''
+ file_path.shift if file_path[0] == ""
# Check if path starts with a separator or drive letter (Windows)
unless file_path[0].match("^#{File::SEPARATOR}|^[a-zA-Z]:")
file_path[0] = "#{File::SEPARATOR}#{file_path[0]}"