Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 49cc1fac6f890bbdf1ef0fa26f99c7cbc558f16f 1 parent 1ab5a41
Lee Hambley leehambley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/capistrano/recipes/deploy/scm/git.rb
2  lib/capistrano/recipes/deploy/scm/git.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.