浏览代码

Merge pull request #2228 from max-au/max-au/canonic_checkouts_dir

rebar_dir: return _checkouts path in a canonical form
pull/2237/head
Fred Hebert 5 年前
提交者 GitHub
父节点
当前提交
68a583d4aa
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_dir.erl

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

@ -89,7 +89,7 @@ root_dir(State) ->
%% @doc returns the expected location of the `_checkouts' directory.
-spec checkouts_dir(rebar_state:t()) -> file:filename_all().
checkouts_dir(State) ->
filename:join(root_dir(State), rebar_state:get(State, checkouts_dir, ?DEFAULT_CHECKOUTS_DIR)).
rebar_file_utils:canonical_path(filename:join(root_dir(State), rebar_state:get(State, checkouts_dir, ?DEFAULT_CHECKOUTS_DIR))).
%% @doc returns the expected location of a given app in the checkouts
%% directory for the project.

正在加载...
取消
保存