Skip to content

Commit

Permalink
fix: min version checking (#1627)
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Rumney <[email protected]>
  • Loading branch information
owenrumney authored Mar 25, 2022
1 parent 8d6f30e commit 818b717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/tfsec/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func minVersionSatisfied(conf *config.Config) bool {
if err != nil {
return true
}
return minimum.LessThan(actual)
return minimum.Equal(actual) || minimum.LessThan(actual)
}

func failf(format string, a ...interface{}) {
Expand Down

0 comments on commit 818b717

Please sign in to comment.