Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rename filename to name

so there is no confusion with the filename method
  • Loading branch information...
commit d20acaf8928b8bd7da55e0f35572bdb0d0ab2d8a 1 parent 2c60bd8
@despo authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/capistrano/recipes/deploy/strategy/copy.rb
View
10 lib/capistrano/recipes/deploy/strategy/copy.rb
@@ -135,13 +135,13 @@ def create_destination
end
def copy_files files
- files.each { |filename| process_file(filename) }
+ files.each { |name| process_file(name) }
end
- def process_file filename
- return copy_symlink(filename) if File.symlink? filename
- return copy_directory(filename) if File.directory? filename
- copy_hardlink filename
+ def process_file name
+ return copy_symlink(name) if File.symlink? name
+ return copy_directory(name) if File.directory? name
+ copy_hardlink name
end
def copy_symlink name
Please sign in to comment.
Something went wrong with that request. Please try again.