소스 검색

rebar_dir: return _checkouts path in a canonical form

This enables relative paths for checkouts_dir configuration variable.
pull/2228/head
Maxim Fedorov 5 년 전
부모
커밋
02c2028a21
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.

불러오는 중...
취소
저장