Parcourir la source

add comment explaining installing each plugin individually

pull/474/head
Tristan Sloughter il y a 10 ans
Parent
révision
6c6940f860
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/rebar_plugins.erl

+ 1
- 0
src/rebar_plugins.erl Voir le fichier

@ -36,6 +36,7 @@ handle_plugins(Profile, Plugins, State) ->
DepsDir = rebar_state:get(State, deps_dir, ?DEFAULT_DEPS_DIR),
State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR),
%% Install each plugin individually so if one fails to install it doesn't effect the others
{PluginProviders, State2} =
lists:foldl(fun(Plugin, {PluginAcc, StateAcc}) ->
{NewPlugins, NewState} = handle_plugin(Profile, Plugin, StateAcc),

Chargement…
Annuler
Enregistrer