Added default to quick() in main #3

Merged
cafkafk merged 1 commit from dev into main 2023-06-12 13:54:59 +02:00
Showing only changes of commit 1cc7f7a1ae - Show all commits

View file

@ -46,7 +46,7 @@ fn main() {
config.link_all();
}
Some(Commands::Quick { msg }) => {
config.quick(&msg.as_ref().unwrap());
config.quick(&msg.as_ref().get_or_insert(&"gg: quick commit".to_string()));
}
Some(Commands::Clone { msg: _ }) => {
config.clone_all();