-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There was some confusion in the code: - `rebar_dir:global_config()` returns the default path - `rebar_dir:global_config(State)` returns the configured path based on the ENV overrides, and defaults to `global_config()` if nothing is given Since no State term existed at this point in time, we just called out directly to the argument-free version of the call, but this ignored all overrides. Instead, we call it with an initialized `rebar_state:new()` to properly handle configuration from users, and then use the actual configured state (if any).
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters