Skip to content

Commit 787dd90

Browse files
chore(internal): bump ktfmt
1 parent f2b664a commit 787dd90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

buildSrc/src/main/kotlin/brand-dev.kotlin.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tasks.withType<Test>().configureEach {
4040

4141
val ktfmt by configurations.creating
4242
dependencies {
43-
ktfmt("com.facebook:ktfmt:0.56")
43+
ktfmt("com.facebook:ktfmt:0.61")
4444
}
4545

4646
fun registerKtfmt(

scripts/fast-format

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ if [ ! -f "$FILE_LIST" ]; then
2424
exit 1
2525
fi
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
3030
fi
3131

@@ -36,7 +36,7 @@ echo "==> Done looking for Kotlin files"
3636

3737
if [[ -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 "$@"
4040
else
4141
echo "No Kotlin files to format -- expected outcome during incremental formatting"
4242
fi

0 commit comments

Comments
 (0)