lib/fulmar/domain/task/database_sync.rake in fulmar-1.0.0 vs lib/fulmar/domain/task/database_sync.rake in fulmar-1.1.0
- old
+ new
@@ -37,10 +37,8 @@
end
end
if db_configs.any?
namespace :database do
- if db_configs.count > 1
- create_update_tasks(db_configs)
- end
+ create_update_tasks(db_configs) if db_configs.count > 1
end
end