aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/base_config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/base_config.rs')
-rw-r--r--crates/mozart/src/commands/base_config.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/mozart/src/commands/base_config.rs b/crates/mozart/src/commands/base_config.rs
index be663d5..bfed161 100644
--- a/crates/mozart/src/commands/base_config.rs
+++ b/crates/mozart/src/commands/base_config.rs
@@ -11,11 +11,7 @@ pub(crate) struct BaseConfigContext {
}
impl BaseConfigContext {
- pub fn initialize(
- global: bool,
- file: Option<&str>,
- cli: &super::Cli,
- ) -> anyhow::Result<Self> {
+ pub fn initialize(global: bool, file: Option<&str>, cli: &super::Cli) -> anyhow::Result<Self> {
if global && file.is_some() {
anyhow::bail!("--file and --global can not be combined");
}