Added default to quick() in main #3
Added a default case to quick in main (quickcommit).
This commit is contained in:
commit
c507379f25
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue