-
Notifications
You must be signed in to change notification settings - Fork 11
Normalize macOS version #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/src/version.jl b/src/version.jl
index 90c175d..abaf2af 100644
--- a/src/version.jl
+++ b/src/version.jl
@@ -44,13 +44,13 @@ else
end
end
-function macos_version(normalize=true)
+function macos_version(normalize = true)
ver = _macos_version()
if normalize && ver.major == 16
# on older SDKs, macOS Tahoe (26) is reported as v16.
# normalize this to v26 regardless of the SDK to simplify use.
return VersionNumber(26, ver.minor, ver.patch)
- end
+ end
return ver
end
@doc """ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #61 +/- ##
==========================================
+ Coverage 71.91% 77.74% +5.83%
==========================================
Files 10 13 +3
Lines 769 993 +224
==========================================
+ Hits 553 772 +219
- Misses 216 221 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Test failures unrelated. (See #53) |
Co-authored-by: Tim Besard <[email protected]>
Return 26 when 16 is reported by default