Skip to content

Commit

Permalink
Update Swift bird emoji to ensure consistent spacing.
Browse files Browse the repository at this point in the history
Resolve #594

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Oct 24, 2024
1 parent 7fef9f6 commit 22cadb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/lint
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ done

exit_code=0
for source in Package.swift Sources Tests; do
printf -- $'--> πŸ•Š %s swift-format\n' "${source}"
printf -- $'--> πŸ¦… %s swift-format\n' "${source}"
swift-format lint --strict --recursive "${source}"
((exit_code |= "${?}"))
printf -- $'--> πŸ•Š %s swiftformat\n' "${source}"
printf -- $'--> πŸ¦… %s swiftformat\n' "${source}"
script -q /dev/null swiftformat --lint --strict "${source}" |
(grep -vxE '(?:\^D\x08{2})?Running SwiftFormat\.{3}\r|\(lint mode - no files will be changed\.\)\r|Reading (?:config|swift-version) file at .*|\x1b\[32mSwiftFormat completed in \d+\.\d+s\.\x1b\[0m\r|0/\d+ files require formatting\.\r' || true)
((exit_code |= "${?}"))
printf -- $'--> πŸ•Š %s swiftlint\n' "${source}"
printf -- $'--> πŸ¦… %s swiftlint\n' "${source}"
swiftlint --strict --quiet "${source}" 2> \
>((grep -vxF $'warning: Configuration option \'allow_multiline_func\' in \'opening_brace\' rule is deprecated. Use the option \'ignore_multiline_function_signatures\' instead.' || true) >&2)
((exit_code |= "${?}"))
Expand Down

0 comments on commit 22cadb8

Please sign in to comment.