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.
panic: 15.2 is not in dotted-tri format
1 parent 62a3c80 commit d4e2f55Copy full SHA for d4e2f55
pkg/limayaml/defaults.go
@@ -1195,7 +1195,7 @@ func HasHostCPU() bool {
1195
case "darwin":
1196
if hasSMEDarwin() {
1197
macOSProductVersion, err := osutil.ProductVersion()
1198
- if err != nil || macOSProductVersion.Equal(*semver.New("15.2")) {
+ if err != nil || (macOSProductVersion.Major == 15 && macOSProductVersion.Minor == 2) {
1199
// SME is available since Apple M4 running macOS 15.2, but it was broken on macOS 15.2.
1200
// It has been fixed in 15.3.
1201
//
0 commit comments