   # TODO: Deprecate on Elixir v1.8
   def cmd(command, opts \\ []) do
     print_app? = Keyword.get(opts, :print_app, true)
-    Mix.Shell.cmd(command, opts, fn(data) ->
+
+    Mix.Shell.cmd(command, opts, fn data ->
       if print_app?, do: print_app()
-      send self(), {:mix_shell, :run, [data]}
+      send(self(), {:mix_shell, :run, [data]})
     end)
   end
 end

  was not printed yet.
  """
  def print_app do
    if name = Mix.Shell.printable_app_name do
      send self(), {:mix_shell, :info, ["==> #{name}"]}
    end
  end


  """
  def error(message) do
    print_app()
    send(self(), {:mix_shell, :error, [format(message)]})
    :ok
  end

  defp format(message) do
    message |> IO.ANSI.format(false) |> IO.iodata_to_binary()
  end

  @doc """
