mirror of
https://github.com/starship/starship.git
synced 2025-08-19 20:36:25 +02:00
fix: remove trailing whitespace from Terraform version (#2726)
This commit is contained in:
@@ -94,8 +94,7 @@ fn get_terraform_version(version: &str) -> Option<String> {
|
||||
.trim_start_matches("Terraform ")
|
||||
.trim()
|
||||
.trim_start_matches('v')
|
||||
.to_owned()
|
||||
+ " ",
|
||||
.to_owned(),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user