Skip to content

Commit

Permalink
Fix info message
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Nov 17, 2024
1 parent 0f8f6da commit ba86410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/loader/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn load_plugins() -> Result<()> {
let config = get_config()?;

if !config.core.enabled {
info!("Plugins are globally disabled. If you want to re-enable them, set [core]disabled in config.toml to false or []");
info!("Plugins are globally disabled. If you want to re-enable them, set [core]enabled in config.toml to true");
return Ok(());
}

Expand Down
2 changes: 1 addition & 1 deletion crates/yabg3nml/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn run_loader(
wait_for_init: bool,
) -> Result<()> {
if !config.core.enabled {
info!("Plugins are globally disabled. If you want to re-enable them, set [core]disabled in config.toml to false or []");
info!("Plugins are globally disabled. If you want to re-enable them, set [core]enabled in config.toml to true");
return Ok(());
}

Expand Down

0 comments on commit ba86410

Please sign in to comment.