fix typo in log message (#819)

This commit is contained in:
Weston Steimel 2022-07-06 15:56:44 +00:00 committed by GitHub
parent 0e0a9d9e7a
commit 17a440033a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ type semanticVersion struct {
func newSemanticVersion(raw string) (*semanticVersion, error) {
verObj, err := hashiVer.NewVersion(normalizer.Replace(raw))
if err != nil {
return nil, fmt.Errorf("unable to crate semver obj: %w", err)
return nil, fmt.Errorf("unable to create semver obj: %w", err)
}
return &semanticVersion{
verObj: verObj,