File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ tasks.withType<Test>().configureEach {
4040
4141val ktfmt by configurations.creating
4242dependencies {
43- ktfmt(" com.facebook:ktfmt:0.56 " )
43+ ktfmt(" com.facebook:ktfmt:0.61 " )
4444}
4545
4646fun registerKtfmt (
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ if [ ! -f "$FILE_LIST" ]; then
2424 exit 1
2525fi
2626
27- if ! command -v ktfmt-fast-format & > /dev/null; then
28- echo " Error: ktfmt-fast-format not found"
27+ if ! command -v ktfmt & > /dev/null; then
28+ echo " Error: ktfmt not found"
2929 exit 1
3030fi
3131
@@ -36,7 +36,7 @@ echo "==> Done looking for Kotlin files"
3636
3737if [[ -n " $kt_files " ]]; then
3838 echo " ==> will format Kotlin files"
39- echo " $kt_files " | tr ' \n' ' \0' | xargs -0 ktfmt-fast-format --kotlinlang-style " $@ "
39+ echo " $kt_files " | tr ' \n' ' \0' | xargs -0 ktfmt --kotlinlang-style " $@ "
4040else
4141 echo " No Kotlin files to format -- expected outcome during incremental formatting"
4242fi
You can’t perform that action at this time.
0 commit comments