diff options
-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 aac6210..3190425 100644 --- a/src/rebar_dir.erl +++ b/src/rebar_dir.erl @@ -45,7 +45,7 @@ profile_dir(Opts, Profiles) -> ["global" | _] -> {?MODULE:global_cache_dir(Opts), [""]}; ["bootstrap", "default"] -> {rebar_opts:get(Opts, base_dir, ?DEFAULT_BASE_DIR), ["default"]}; ["default"] -> {rebar_opts:get(Opts, base_dir, ?DEFAULT_BASE_DIR), ["default"]}; - %% drop `default` from the profile dir if it's implicit and reverse order + %% drop `default' from the profile dir if it's implicit and reverse order %% of profiles to match order passed to `as` ["default"|Rest] -> {rebar_opts:get(Opts, base_dir, ?DEFAULT_BASE_DIR), Rest} end, |