Skip to content

Commit

Permalink
Merge pull request #3204 from AkihiroSuda/fix-3203
Browse files Browse the repository at this point in the history
Fix `panic: 15.2 is not in dotted-tri format`
  • Loading branch information
jandubois authored Feb 7, 2025
2 parents 62a3c80 + d4e2f55 commit ca2c432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/limayaml/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ func HasHostCPU() bool {
case "darwin":
if hasSMEDarwin() {
macOSProductVersion, err := osutil.ProductVersion()
if err != nil || macOSProductVersion.Equal(*semver.New("15.2")) {
if err != nil || (macOSProductVersion.Major == 15 && macOSProductVersion.Minor == 2) {
// SME is available since Apple M4 running macOS 15.2, but it was broken on macOS 15.2.
// It has been fixed in 15.3.
//
Expand Down

0 comments on commit ca2c432

Please sign in to comment.