diff --git a/vendor/oban_web/mix.exs b/vendor/oban_web/mix.exs index da486f89..93d685b9 100644 --- a/vendor/oban_web/mix.exs +++ b/vendor/oban_web/mix.exs @@ -129,23 +129,9 @@ defmodule Oban.Web.MixProject do end defp oban_pro_dep do - if oban_repo_configured?() do - [{:oban_pro, "~> 1.7.0", repo: :oban, only: [:test, :dev]}] - else - [] - end - end - - defp oban_repo_configured? do - hex_config = Path.expand("~/.hex/hex.config") - - case File.read(hex_config) do - {:ok, content} -> - String.contains?(content, "repo.oban.pro") - - {:error, _} -> - false - end + # Always use the vendored oban_pro provided by the root mix.exs. + # Never pull from the live oban repo regardless of hex config. + [] end defp aliases do