File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ if [[ -f .swiftformatignore ]]; then
2626 log " Found swiftformatignore file..."
2727
2828 log " Running swift format format..."
29- tr ' \n' ' \0' < .swiftformatignore| xargs -0 -I% printf ' ":(exclude)%" ' | xargs git ls-files -z ' *.swift' | xargs -0 swift format format --parallel --in-place
29+ tr ' \n' ' \0' < .swiftformatignore| xargs -0 -I% printf ' ":(exclude)%" ' | xargs git ls-files -z ' *.swift' | xargs -0 xcrun swift- format --parallel --recursive --in-place
3030
3131 # log "Running swift format lint..."
3232
3333 # tr '\n' '\0' < .swiftformatignore | xargs -0 -I% printf '":(exclude)%" '| xargs git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
3434else
3535 log " Running swift format format..."
36- git ls-files -z ' *.swift' | xargs -0 swift format format --parallel --in-place
36+ git ls-files -z ' *.swift' | xargs -0 xcrun swift- format --parallel --recursive --in-place
3737
3838 # log "Running swift format lint..."
3939
You can’t perform that action at this time.
0 commit comments