Fix: --config flag not being used #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/1/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The --config CLI flag was defined but never actually used. The code
always called Config::load() which loads from the default path,
completely ignoring the --config argument.
This fix checks if cli.config is provided and loads from that path,
otherwise falls back to the default Config::load() behavior.
Thanks for this