           File.mkdir_p!(Path.dirname(local))
           File.write!(local, binary)
           File.chmod!(local, 0o755)
-          Mix.shell.info [:green, "* creating ", :reset, Path.relative_to_cwd(local)]
+          Mix.shell().info([:green, "* creating ", :reset, Path.relative_to_cwd(local)])
+
         :badpath ->
-          Mix.raise "Expected #{inspect path} to be a URL or a local file path"
+          Mix.raise("Expected #{inspect(path)} to be a URL or a local file path")
+
         {:local, message} ->
-          Mix.raise message
+          Mix.raise(message)
+
         {kind, message} when kind in [:remote, :checksum] ->
-          Mix.raise """
+          Mix.raise("""
           #{message}
 
           Could not fetch #{manager} at:

  end

  defp install_from_s3(manager, list_url, escript_url, opts) do
    hex_mirror = Mix.Hex.mirror
    list_url = hex_mirror <> list_url

    {elixir_version, rebar_version, sha512} =

          Please download the file above manually to your current directory and run:

              mix local.rebar #{manager} ./#{Path.basename(local)}
          """)
      end
    end

