Просмотр исходного кода

Merge pull request #1498 from ferd/avoid-clean-wildcard-apps

Fix wildcard usage in rebar3 clean
pull/1500/head
alisdair sullivan 8 лет назад
committed by GitHub
Родитель
Сommit
1376967687
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      src/rebar_prv_clean.erl

+ 2
- 1
src/rebar_prv_clean.erl Просмотреть файл

@ -44,7 +44,8 @@ do(State) ->
case All of case All of
true -> true ->
DepsDir = rebar_dir:deps_dir(State1), DepsDir = rebar_dir:deps_dir(State1),
AllApps = rebar_app_discover:find_apps([filename:join(DepsDir, "*")], all),
DepsDirs = filelib:wildcard(filename:join(DepsDir, "*")),
AllApps = rebar_app_discover:find_apps(DepsDirs, all),
clean_apps(State1, Providers, AllApps); clean_apps(State1, Providers, AllApps);
false -> false ->
ProjectApps = rebar_state:project_apps(State1), ProjectApps = rebar_state:project_apps(State1),

Загрузка…
Отмена
Сохранить