Skip to content

Commit

Permalink
fix(config): actually load the specified config oops
Browse files Browse the repository at this point in the history
  • Loading branch information
benpueschel committed Jul 22, 2024
1 parent 2709945 commit 84ea33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mod delete_repository;
pub use delete_repository::delete_repository;

fn load_config(path: &Option<String>) -> Result<Config> {
match Config::load_from_file(None) {
match Config::load_from_file(path.clone()) {
Ok(config) => Ok(config),
Err(err) => match err.kind {
ErrorKind::NotFound => {
Expand Down

0 comments on commit 84ea33e

Please sign in to comment.