Skip to content

Commit

Permalink
Make swiftformat --strict in script/format.
Browse files Browse the repository at this point in the history
Partial mas-cli#638

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Nov 23, 2024
1 parent 2227cca commit de1c943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/format
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for source in Package.swift Sources Tests; do
printf -- $'--> 🦅 %s swift-format\n' "${source}"
swift-format format --in-place --recursive "${source}"
printf -- $'--> 🦅 %s swiftformat\n' "${source}"
swiftformat "${source}"
swiftformat --strict "${source}"
printf -- $'--> 🦅 %s swiftlint\n' "${source}"
swiftlint --fix --strict "${source}"
done
Expand Down

0 comments on commit de1c943

Please sign in to comment.