diff --git a/bsp/src/mill/bsp/MillScalaBuildServer.scala b/bsp/src/mill/bsp/MillScalaBuildServer.scala index 48bf2bf36c3..131a0238d09 100644 --- a/bsp/src/mill/bsp/MillScalaBuildServer.scala +++ b/bsp/src/mill/bsp/MillScalaBuildServer.scala @@ -62,7 +62,7 @@ trait MillScalaBuildServer extends ScalaBuildServer { this: MillBuildServer => override def buildTargetScalaMainClasses(p: ScalaMainClassesParams) : CompletableFuture[ScalaMainClassesResult] = completableTasks( - hint = "buildTragetScalaMainClasses", + hint = "buildTargetScalaMainClasses", targetIds = p.getTargets.asScala.toSeq, agg = (items: Seq[ScalaMainClassesItem]) => new ScalaMainClassesResult(items.asJava) ) {