1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00

fix: remove trailing whitespace from Terraform version (#2726)

This commit is contained in:
Chris 2021-05-16 03:36:59 +01:00 committed by GitHub
parent d0a32b1194
commit ae6c69b13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),
)
}