Skip to content

Commit

Permalink
Change Swift formatter emoji to fix output spacing issues in `script/…
Browse files Browse the repository at this point in the history
…format`.

Partial mas-cli#638

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Nov 24, 2024
1 parent ca1adf1 commit cf15865
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/format
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ for formatter in markdownlint prettier shfmt swift-format swiftformat swiftlint
done

for source in Package.swift Sources Tests; do
printf -- $'--> 🕊 %s swift-format\n' "${source}"
printf -- $'--> 🦅 %s swift-format\n' "${source}"
swift-format format --in-place --recursive "${source}"
printf -- $'--> 🕊 %s swiftformat\n' "${source}"
printf -- $'--> 🦅 %s swiftformat\n' "${source}"
swiftformat "${source}"
printf -- $'--> 🕊 %s swiftlint\n' "${source}"
printf -- $'--> 🦅 %s swiftlint\n' "${source}"
swiftlint --fix --strict "${source}"
done

Expand All @@ -43,6 +43,6 @@ shfmt \
printf -- $'--> 〽️ Markdown\n'
markdownlint --config .markdownlint.json --fix . docs

printf -- $'--> 🖊 YAML\n'
printf -- $'--> 📝 YAML\n'
# shellcheck disable=SC2046
prettier --write $(yamllint --list-files .)

0 comments on commit cf15865

Please sign in to comment.