File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ tasks.withType<Test>().configureEach {
3939
4040val ktfmt by configurations.creating
4141dependencies {
42- ktfmt(" com.facebook:ktfmt:0.56 " )
42+ ktfmt(" com.facebook:ktfmt:0.61 " )
4343}
4444
4545fun 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