lib/git/gsub.rb in git-gsub-0.0.8 vs lib/git/gsub.rb in git-gsub-0.0.9
- old
+ new
@@ -77,10 +77,10 @@
@options = options
end
def run_commands(commands)
if options[:dry]
- commands.each { |args| puts args.join(' ') }
+ commands.each { |args| puts Array(args).join(' ') }
else
commands.each { |args| Open3.capture3(*args) }
end
end