summaryrefslogtreecommitdiff
path: root/lib/chef/file_content_management/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/file_content_management/tempfile.rb')
-rw-r--r--lib/chef/file_content_management/tempfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/file_content_management/tempfile.rb b/lib/chef/file_content_management/tempfile.rb
index 522a9fc43c..dbe8a30ab4 100644
--- a/lib/chef/file_content_management/tempfile.rb
+++ b/lib/chef/file_content_management/tempfile.rb
@@ -64,7 +64,7 @@ class Chef
#
def tempfile_basename
basename = ::File.basename(@new_resource.name)
- basename.insert 0, "." unless Chef::Platform.windows? # dotfile if we're not on windows
+ basename.insert 0, "." unless Chef::Platform.windows? # dotfile if we're not on windows
basename
end