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
1 changed files with 7 additions and 8 deletions

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