浏览代码

Merge pull request #2298 from gomoripeti/fix_git_subdir

Fix git_subdir after "revert change to lock for regular git resource"
pull/2302/head
Tristan Sloughter 4 年前
提交者 GitHub
父节点
当前提交
f9d7ecf4a1
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 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}.

正在加载...
取消
保存