Skip to content

Commit

Permalink
rename method to be more meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
despo committed Mar 16, 2012
1 parent bc310a7 commit 5ba5da3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/capistrano/recipes/deploy/strategy/copy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def deploy!
if copy_cache
copy_repository_to_local_cache
build(copy_cache)
copy_cache_to_server

copy_cache_to_staging_area
else
copy_repository_to_server

Expand Down Expand Up @@ -123,7 +124,7 @@ def last_command_failed?
$? != 0
end

def copy_cache_to_server
def copy_cache_to_staging_area
FileUtils.mkdir_p(destination)

logger.debug "copying cache to deployment staging area #{destination}"
Expand Down

0 comments on commit 5ba5da3

Please sign in to comment.