lib/astrails/safe/mysqldump.rb in astrails-safe-0.2.7 vs lib/astrails/safe/mysqldump.rb in astrails-safe-0.3.0
- old
+ new
@@ -21,10 +21,10 @@
end
end
def mysql_skip_tables
if skip_tables = @config[:skip_tables]
- [*skip_tables].map { |t| "--ignore-table=#{@id}.#{t}" } * " "
+ [*skip_tables].map{ |t| "--ignore-table=#{@id}.#{t}" }.join(" ")
end
end
end
end
\ No newline at end of file