Skip to content

Commit

Permalink
revert back to original
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Jul 2, 2021
1 parent 573ed84 commit 834a736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func retrieveFileContents(file string) string {
fmt.Printf("Error: %s\n", err)
os.Exit(1)
}
tfversion := strings.TrimSpace(string(fileContents))
tfversion := strings.TrimSuffix(string(fileContents), "\n")
return tfversion
}

Expand Down

0 comments on commit 834a736

Please sign in to comment.