diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-05-04 00:24:21 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-05-04 00:24:21 +0000 |
commit | 5920ee29bef1462434e419ceee1342a614e6f063 (patch) | |
tree | 2b13d7544d7f76ad93bad21cd3fb4fb76120f764 /src/rebar_dir.erl | |
parent | 9b770b896718aee800e43ac045582cd8abb266da (diff) | |
parent | 33736f32a9a8bfd30711270e8f1376280915d697 (diff) |
Merge branch 'app-discover-profile-duplication' of https://github.com/kovyl2404/rebar3 into kovyl2404-app-discover-profile-duplication
Diffstat (limited to 'src/rebar_dir.erl')
-rw-r--r-- | src/rebar_dir.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_dir.erl b/src/rebar_dir.erl index c0c6bb2..a94c72d 100644 --- a/src/rebar_dir.erl +++ b/src/rebar_dir.erl @@ -34,7 +34,7 @@ profile_dir(State, Profiles) -> ["default"] -> ["default"]; %% drop `default` from the profile dir if it's implicit and reverse order %% of profiles to match order passed to `as` - ["default"|Rest] -> lists:reverse(Rest) + ["default"|Rest] -> Rest end, ProfilesDir = string:join(ProfilesStrings, "+"), filename:join(rebar_state:get(State, base_dir, ?DEFAULT_BASE_DIR), ProfilesDir). |