fix: properly emit update metadata for intel macs #446
Mergednmggithub(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/446/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub- @@ -0,0 +45,21 @@45+ ) {46+ throw new Error(47+ `Invalid macOS update manifest at ${sourcePath}:${lineNumber}: incomplete file entry.`,48+ );49+ }50+ return {51+ url: currentFile.url,52+ sha512: currentFile.sha512,53+ size: currentFile.size,54+ };55+}56+57+function parseScalarValue(rawValue: string): MacUpdateScalar {58+ const value = stripSingleQuotes(rawValue.trim());59+ if (value === "true") return true;60+ if (value === "false") return false;61+ if (/^-?\d+(?:\.\d+)?$/.test(value)) {62+ return Number(value);63+ }64+ return value;65+}
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
d9bc6487-946c-4349-9730-d2add4e328a8You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip
Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Share your feedback on Discord.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share