Skip to content

Commit

Permalink
fixed Array#many? missing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyakubenko committed Mar 31, 2015
1 parent 44dadc4 commit c8b0f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/capistrano2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def for_each_role
end

sidekiq_roles.to_ary.each do |sidekiq_role|
puts "executing on ##{ sidekiq_role }" if sidekiq_roles.many?
puts "executing on ##{ sidekiq_role }" if sidekiq_roles.size > 1
yield(sidekiq_role)
end
end
Expand Down

0 comments on commit c8b0f2e

Please sign in to comment.