diff --git a/src/internal/structs.rs b/src/internal/structs.rs index 1dad2b4..5d83b84 100755 --- a/src/internal/structs.rs +++ b/src/internal/structs.rs @@ -47,7 +47,7 @@ pub struct ConfigModeWorkspace {} #[derive(Debug, Deserialize)] pub struct ConfigRepositories { - pub name: Vec, + pub repos: Vec, pub urls: HashMap, } diff --git a/src/workspace/read.rs b/src/workspace/read.rs index 4ffaed5..03412ad 100755 --- a/src/workspace/read.rs +++ b/src/workspace/read.rs @@ -39,7 +39,7 @@ pub fn read_cfg(verbose: bool) -> Config { let mut expanded_repos: Vec = vec![]; // Parsing repos from the config file - for x in config.repositories.name { + for x in config.repositories.repos { log!(verbose, "Parsing repo: {:?}", x); // Splits the repo name and index inta a SplitRepo struct let split: Vec<&str> = x.split(':').collect();