Skip to content

Commit afceffb

Browse files
authored
Update KtLint to 1.3.1 (#1210)
1 parent e39c952 commit afceffb

File tree

13 files changed

+412
-412
lines changed

13 files changed

+412
-412
lines changed

src/main/kotlin/io/bazel/kotlin/builder/tasks/CompileKotlin.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ import io.bazel.worker.WorkerContext
2323
import javax.inject.Inject
2424

2525
class CompileKotlin
26-
@Inject
27-
constructor(
28-
private val builder: KotlinBuilder,
29-
) : Work {
30-
override fun invoke(
31-
ctx: WorkerContext.TaskContext,
32-
args: Iterable<String>,
33-
): Status =
34-
if (builder.build(ctx, args.toList()) != 0) {
35-
Status.ERROR
36-
} else {
37-
Status.SUCCESS
38-
}
39-
}
26+
@Inject
27+
constructor(
28+
private val builder: KotlinBuilder,
29+
) : Work {
30+
override fun invoke(
31+
ctx: WorkerContext.TaskContext,
32+
args: Iterable<String>,
33+
): Status =
34+
if (builder.build(ctx, args.toList()) != 0) {
35+
Status.ERROR
36+
} else {
37+
Status.SUCCESS
38+
}
39+
}

0 commit comments

Comments
 (0)