Skip to content

Commit

Permalink
ruby 2.3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Nov 26, 2019
1 parent 0d1764e commit 424ea64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplygenius/atmos/commands/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def execute
logger.debug "Run task result: #{result}"
begin
match = result[:log_match]
local_command = local_command.collect {|c| match.named_captures.each {|n, v| c = c.gsub("<#{n}>", v) }; c }
local_command = local_command.collect {|c| match.names.each {|n| c = c.gsub("<#{n}>", match[n]) }; c }
system(*local_command)
ensure
if persist?
Expand Down

0 comments on commit 424ea64

Please sign in to comment.