浏览代码

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 年前
父节点
当前提交
bf94db70c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_git_subdir_resource.erl

+ 1
- 1
src/rebar_git_subdir_resource.erl 查看文件

@ -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}.

正在加载...
取消
保存