Bladeren bron

Fix git_subdir after "revert change to lock for regular git resource"

Commit 029cbcc7 changed the return value of `rebar_git_resource:lock_/2`
pull/2298/head
Péter Gömöri 5 jaren geleden
bovenliggende
commit
bf94db70c1
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      src/rebar_git_subdir_resource.erl

+ 1
- 1
src/rebar_git_subdir_resource.erl Bestand weergeven

@ -22,7 +22,7 @@ init(Type, _State) ->
lock(AppInfo, _) ->
{git_subdir, Url, Checkout, Dir} = rebar_app_info:source(AppInfo),
{git, Url1, {ref, Ref}, _Opts} =
{git, Url1, {ref, Ref}} =
rebar_git_resource:lock_(rebar_app_info:dir(AppInfo), {git, Url, Checkout}),
{git_subdir, Url1, {ref, Ref}, Dir}.

Laden…
Annuleren
Opslaan