소스 검색

Update SwiftFormat version (#1639)

Motivation:

Some changes cause the formatter to throw an error while formatting.
This particular bug was fixed in 0.52.0.

Modifications:

- Update the formatter version to 0.52.0
- Update the rules applied to minimise the diff from updating
- Run the formatter

Results:

- Formatter is up-to-date.
George Barnett 2 년 전
부모
커밋
2be4aeba95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/format.sh

+ 1 - 1
scripts/format.sh

@@ -22,7 +22,7 @@ SWIFTFORMAT_DIR="$HERE/.swiftformat-source"
 
 # Important: if this is changed then make sure to update the version
 # in the .github/workflows/ci.yaml as well!
-SWIFTFORMAT_VERSION=0.49.4
+SWIFTFORMAT_VERSION=0.52.0
 
 # Clone SwiftFormat if we don't already have it.
 if [ ! -d "$SWIFTFORMAT_DIR" ]; then