Skip to content

Load configuration earlier from proper location#1501

Merged
mosteo merged 4 commits into
alire-project:masterfrom
mosteo:fix/config-loading
Nov 16, 2023
Merged

Load configuration earlier from proper location#1501
mosteo merged 4 commits into
alire-project:masterfrom
mosteo:fix/config-loading

Conversation

@mosteo

@mosteo mosteo commented Nov 13, 2023

Copy link
Copy Markdown
Member

Configuration could be loaded from the default location even when using -c because of elaboration order.

This fixes #1496 and ensures it can't happen again as program error would be raised if we reintroduce the problem.

Also make sure it's impossible to use configuration before the proper path is
set.
@mosteo mosteo marked this pull request as ready for review November 13, 2023 21:03
@mosteo mosteo merged commit bfb9f6c into alire-project:master Nov 16, 2023
@mosteo mosteo deleted the fix/config-loading branch November 16, 2023 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-c global option doesn't load config as expected

2 participants