We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bf5e51 + 3db05ee commit fed24daCopy full SHA for fed24da
pkg/limayaml/validate.go
@@ -44,7 +44,7 @@ func Validate(y *LimaYAML, warn bool) error {
44
if err != nil {
45
errs = errors.Join(errs, fmt.Errorf("can't parse builtin Lima version %q: %w", version.Version, err))
46
}
47
- if versionutil.GreaterThan(*y.MinimumLimaVersion, limaVersion.String()) {
+ if limaVersion != nil && versionutil.GreaterThan(*y.MinimumLimaVersion, limaVersion.String()) {
48
errs = errors.Join(errs, fmt.Errorf("template requires Lima version %q; this is only %q", *y.MinimumLimaVersion, limaVersion.String()))
49
50
0 commit comments