 
     if Enum.count(conflicts) > 0 do
       conflicts = conflicts
+        |> Enum.map(display(tasks))
         |> Enum.map(&("'" <> &1 <> "'"))
         |> Enum.join(", ")
       {

      }    
    end
  end
  
  defp start_reindex_processes(projects) do
    for project <- projects, into: %{} do
      task = Task.Supervisor.async_nolink(

      }
    end
  end

  defp display(tasks) do
    fn task_name -> "#{task_name}[#{Atom.to_string(tasks[task_name].type)}]" end
  end
end
