Permalink
Browse files

Fix GH #86 (Undefined method compact for <#String>

  • Loading branch information...
1 parent 1ab5a41 commit 49cc1fac6f890bbdf1ef0fa26f99c7cbc558f16f @leehambley leehambley committed Sep 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/recipes/deploy/scm/git.rb
@@ -156,7 +156,7 @@ def checkout(revision, destination)
end
end
- execute.join(" && ").compact
+ execute.compact.join(" && ").gsub(/\s+/, ' ')
end
# An expensive export. Performs a checkout as above, then

0 comments on commit 49cc1fa

Please sign in to comment.