aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-core/src/factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-core/src/factory.rs')
-rw-r--r--crates/mozart-core/src/factory.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/mozart-core/src/factory.rs b/crates/mozart-core/src/factory.rs
index 39024c8..28ea680 100644
--- a/crates/mozart-core/src/factory.rs
+++ b/crates/mozart-core/src/factory.rs
@@ -146,6 +146,9 @@ pub fn create_config() -> anyhow::Result<Config> {
obj.iter().map(|(k, v)| (k.clone(), v.clone())).collect();
config.merge(&overrides)?;
}
+ if let Some(repos) = json.get("repositories") {
+ config.merge_repositories(repos);
+ }
}
Ok(config)