Skip to content

Commit 7fbad41

Browse files
authored
Use check=true for ktlint checkFormatAll run (#4247)
Fix small typo made in #4201 - `checkFormalAll` task should fail in case of formatting violations. Co-authored-by: 0xnm <[email protected]>
1 parent d2df820 commit 7fbad41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinlib/src/mill/kotlinlib/ktlint/KtlintModule.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ object KtlintModule extends ExternalModule with KtlintModule with TaskModule {
8787
Tasks.resolveMainDefault("__.sources")
8888
): Command[Unit] = Task.Command {
8989
ktlintAction(
90-
KtlintArgs(format = false, check = false),
90+
KtlintArgs(format = false, check = true),
9191
T.sequence(sources.value)().flatten,
9292
ktlintConfig(),
9393
ktlintOptions(),

0 commit comments

Comments
 (0)