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,8 +26,8 @@ function process_output() {
2626}
2727
2828if [ " $staged_mode " = true ]; then
29- process_output " SwiftFormat" " python ./Scripts/git-format-staged.py -f 'swiftformat stdin --stdinpath \" {}\" --quiet' '*.swift'"
30- process_output " SwiftLint" " python ./Scripts/git-format-staged.py --no-write -f 'swiftlint --use-stdin --quiet >&2' '*.swift'"
29+ process_output " SwiftFormat" " python3 ./Scripts/git-format-staged.py -f 'swiftformat stdin --stdinpath \" {}\" --quiet' '*.swift'"
30+ process_output " SwiftLint" " python3 ./Scripts/git-format-staged.py --no-write -f 'swiftlint --use-stdin --quiet >&2' '*.swift'"
3131 if [[ " $final_status " -gt 0 ]]; then
3232 printf ' \nChanges werde made or are required. Please review the output above for further details.\n'
3333 fi
You can’t perform that action at this time.
0 commit comments