diff options
Diffstat (limited to 'crates/shirabe/src/command/show_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/show_command.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/show_command.rs b/crates/shirabe/src/command/show_command.rs index 419de424..b479c9a8 100644 --- a/crates/shirabe/src/command/show_command.rs +++ b/crates/shirabe/src/command/show_command.rs @@ -1380,12 +1380,12 @@ impl ShowCommand { { let zero_major = groups .get(&CaptureKey::ByName("zero_major".to_string())) - .cloned() - .unwrap_or_default(); + .unwrap_or_default() + .to_string(); let first_meaningful = groups .get(&CaptureKey::ByName("first_meaningful".to_string())) - .cloned() .unwrap_or_default() + .to_string() .parse::<i64>() .unwrap_or(0); target_version = Some(format!( |
