summaryrefslogtreecommitdiff
path: root/lib/chef/file_content_management
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/file_content_management')
-rw-r--r--lib/chef/file_content_management/deploy.rb1
-rw-r--r--lib/chef/file_content_management/deploy/mv_unix.rb1
-rw-r--r--lib/chef/file_content_management/deploy/mv_windows.rb2
-rw-r--r--lib/chef/file_content_management/tempfile.rb2
4 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/file_content_management/deploy.rb b/lib/chef/file_content_management/deploy.rb
index 67dcbfa424..1e3ae55c21 100644
--- a/lib/chef/file_content_management/deploy.rb
+++ b/lib/chef/file_content_management/deploy.rb
@@ -35,4 +35,3 @@ class Chef
end
end
end
-
diff --git a/lib/chef/file_content_management/deploy/mv_unix.rb b/lib/chef/file_content_management/deploy/mv_unix.rb
index 9c265e0a21..3805b3bef3 100644
--- a/lib/chef/file_content_management/deploy/mv_unix.rb
+++ b/lib/chef/file_content_management/deploy/mv_unix.rb
@@ -74,4 +74,3 @@ class Chef
end
end
end
-
diff --git a/lib/chef/file_content_management/deploy/mv_windows.rb b/lib/chef/file_content_management/deploy/mv_windows.rb
index b3ef021e76..0e6e6cd76f 100644
--- a/lib/chef/file_content_management/deploy/mv_windows.rb
+++ b/lib/chef/file_content_management/deploy/mv_windows.rb
@@ -96,10 +96,8 @@ class Chef
dst_so.owner = dst_sd.owner
dst_so.set_dacl(apply_dacl, dst_sd.dacl_inherits?) if dacl_present
dst_so.set_sacl(apply_sacl, dst_sd.sacl_inherits?) if sacl_present
-
end
end
end
end
end
-
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