diff --git a/src/command_config_checkchanneluptodate.rs b/src/command_config_checkchanneluptodate.rs index e2f9f257..97abf9cc 100644 --- a/src/command_config_checkchanneluptodate.rs +++ b/src/command_config_checkchanneluptodate.rs @@ -27,7 +27,10 @@ pub fn run_command_config_checkchanneluptodate( if value_changed { eprintln!("Property 'checkchanneluptodate' set to '{}'", value); } else { - eprintln!("Property 'checkchanneluptodate' is already set to '{}'", value); + eprintln!( + "Property 'checkchanneluptodate' is already set to '{}'", + value + ); } } } diff --git a/src/config_file.rs b/src/config_file.rs index 3673c254..4b65a66e 100644 --- a/src/config_file.rs +++ b/src/config_file.rs @@ -62,7 +62,7 @@ pub struct JuliaupConfigSettings { #[serde( rename = "ShouldCheckChannelUptodate", default = "default_should_check_channel_uptodate", - skip_serializing_if = "is_default", + skip_serializing_if = "is_default" )] pub should_check_channel_uptodate: bool, } diff --git a/src/lib.rs b/src/lib.rs index 8984510c..d8ebef8c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,11 +3,11 @@ use anyhow::Context; pub mod command_add; pub mod command_api; pub mod command_config_backgroundselfupdate; +pub mod command_config_checkchanneluptodate; pub mod command_config_modifypath; pub mod command_config_startupselfupdate; pub mod command_config_symlinks; pub mod command_config_versionsdbupdate; -pub mod command_config_checkchanneluptodate; pub mod command_default; pub mod command_gc; pub mod command_info;