Skip to content

Commit

Permalink
Reformat with scalafmt 3.7.14
Browse files Browse the repository at this point in the history
Executed command: scalafmt --non-interactive
  • Loading branch information
scala-steward committed Sep 8, 2023
1 parent b2539ee commit f8c8aec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion main/src/de/tobiasroeser/mill/vaadin/VaadinModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ trait VaadinModule extends VaadinModulePlatform {
def millVaadinConfig(prodMode: Task[Boolean]): Task[MillVaadinConfig] = T.task {
val frontend = vaadinFrontend().path
val res = resources().map(_.path)
if (res.size != 1) { T.log.error(s"Not exactly one resource location defined. Using just the first: ${res.headOption.getOrElse("")}") }
if (res.size != 1) {
T.log.error(s"Not exactly one resource location defined. Using just the first: ${res.headOption.getOrElse("")}")
}
val dest = vaadinBuildPath().path
val config = new MillVaadinConfig {
override val compatTargetDir: Path = dest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class VaadinToolsWorkerImpl() extends VaadinToolsWorker {
BuildFrontendUtil.runFrontendBuild(adapter)
}

def cleanFrontend(config: MillVaadinConfig)(implicit ctx: Ctx): Unit = {

}
def cleanFrontend(config: MillVaadinConfig)(implicit ctx: Ctx): Unit = {}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ trait MillVaadinConfig {
"resourceOutputPath" -> resourceOutputPath,
"resourcePath" -> resourcePath,
"vaadinBuildOutputPath" -> vaadinBuildOutputPath,
"webpackOutPath" -> webpackOutPath,
"webpackOutPath" -> webpackOutPath
).mkString(
s"""${getClass.getSimpleName}(
| """.stripMargin,
Expand Down

0 comments on commit f8c8aec

Please sign in to comment.