Skip to content

Commit

Permalink
Merge pull request #2228 from max-au/max-au/canonic_checkouts_dir
Browse files Browse the repository at this point in the history
rebar_dir: return _checkouts path in a canonical form
  • Loading branch information
ferd authored Feb 13, 2020
2 parents 8cb76f4 + 02c2028 commit 68a583d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar_dir.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 68a583d

Please sign in to comment.