Skip to content

ci: fix mix format --check-formatted in lib/package/macos.ex - #19

Merged
dominicletz merged 1 commit into
mainfrom
fix/macos-format-lint
Aug 10, 2026
Merged

ci: fix mix format --check-formatted in lib/package/macos.ex#19
dominicletz merged 1 commit into
mainfrom
fix/macos-format-lint

Conversation

@dominicletz

Copy link
Copy Markdown
Contributor

Summary

mix lint fails on main because lib/package/macos.ex is not formatted.

The release/1 case introduced in #18 uses a one-line branch form. The
current mix format rewrites it with blank lines between branches, so
format --check-formatted (run by the lint alias) rejects the file.

Reformat the file so mix lint passes in CI.

Test plan

  • Confirm mix format --check-formatted passes locally
  • Confirm mix lint (format + credo) passes locally
  • Confirm the test mix.create_keychain workflow passes on this PR

Closes the failing CI on main.

Made with Cursor

The host-driven BEAM restart commit (#18) introduced a `case` clause
in `Desktop.Deployment.Package.MacOS.release/1` that the current
formatter rewrites with blank lines between branches. The CI `mix lint`
alias runs `format --check-formatted`, which has been failing on main
since #18.

Reformat the `case` so the file passes the formatter check.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dominicletz
dominicletz merged commit 9eb6717 into main Aug 10, 2026
2 checks passed
@dominicletz
dominicletz deleted the fix/macos-format-lint branch August 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant