Skip to content

Commit

Permalink
Rename plugin to not clash with plugin from dep
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Jan 8, 2020
1 parent 97da380 commit 4c61e46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-module(override_deps_versions).
-module(override_deps_versions2).
-export([preprocess/2, 'pre_update-deps'/2, new_replace/1, new_replace/0]).

preprocess(Config, _Dirs) ->
Expand Down Expand Up @@ -55,7 +55,7 @@ replace_mod(Beam) ->
Call = case Name of
new ->
[erl_syntax:application(
erl_syntax:abstract(override_deps_versions),
erl_syntax:abstract(override_deps_versions2),
erl_syntax:abstract(new_replace),
Args)];
_ ->
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}]}}.
{if_not_rebar3, {plugins, [
deps_erl_opts, override_deps_versions, override_opts, configure_deps,
deps_erl_opts, override_deps_versions2, override_opts, configure_deps,
{if_var_true, elixir, rebar_elixir_compiler},
{if_var_true, elixir, rebar_exunit}
]}}.
Expand Down

0 comments on commit 4c61e46

Please sign in to comment.