mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Revert "Merge pull request #967 from rosenfeld/patch-1"
This reverts commit1f69d3689a
, reversing changes made toa0dccd88e6
.
This commit is contained in:
parent
2e5be9d11e
commit
09aa370362
1 changed files with 5 additions and 2 deletions
|
@ -45,8 +45,11 @@ module Capistrano
|
|||
|
||||
def release_roles(*names)
|
||||
options = { exclude: :no_release }
|
||||
options.merge! names.pop if names.last.is_a? Hash
|
||||
names << options
|
||||
if names.last.is_a? Hash
|
||||
names.last.merge(options)
|
||||
else
|
||||
names << options
|
||||
end
|
||||
roles(*names)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue