Skip to content

Commit ed3a6d0

Browse files
committed
Updated process script
1 parent 1e7611f commit ed3a6d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/process.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function process_output() {
2626
}
2727

2828
if [ "$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

0 commit comments

Comments
 (0)