summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system.rb
diff options
context:
space:
mode:
authorJeremiah Snapp <jeremiah@getchef.com>2014-08-01 16:30:03 -0400
committerJeremiah Snapp <jeremiah@getchef.com>2014-08-01 16:30:03 -0400
commit3a4f8c3f8c6d5687c0fcc99c264410cd1ce9e1b4 (patch)
tree62a35476ad4f98866bc96e8bc3ca2fe46e738392 /lib/chef/chef_fs/file_system.rb
parentb01813613a8244efec0ba0907b9e7dae3461d26c (diff)
downloadchef-3a4f8c3f8c6d5687c0fcc99c264410cd1ce9e1b4.tar.gz
Reverse the error wording in Chef::ChefFS::FileSystem#copy_entries
Diffstat (limited to 'lib/chef/chef_fs/file_system.rb')
-rw-r--r--lib/chef/chef_fs/file_system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_system.rb b/lib/chef/chef_fs/file_system.rb
index ffbe274864..4d15d7af33 100644
--- a/lib/chef/chef_fs/file_system.rb
+++ b/lib/chef/chef_fs/file_system.rb
@@ -369,7 +369,7 @@ class Chef
end
else
if dest_entry.dir?
- ui.error("File #{src_path} is a directory while file #{dest_path} is a regular file\n") if ui
+ ui.error("File #{src_path} is a regular file while file #{dest_path} is a directory\n") if ui
return
else