diff --git a/.scalafmt.conf b/.scalafmt.conf
index 97f1feff..41ba8dd8 100644
--- a/.scalafmt.conf
+++ b/.scalafmt.conf
@@ -1,4 +1,4 @@
-version = "3.4.0"
+version = "3.4.1"
 
 preset = default
 align.preset = some
diff --git a/build.sbt b/build.sbt
index 2e957fb6..baff161a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -962,8 +962,8 @@ def createWebjarSource(wj: Seq[ModuleID], out: File): Seq[File] = {
   val fields = wj
     .map(m =>
       s"""val ${m.name.toLowerCase.filter(c =>
-        !badChars.contains(c)
-      )} = "/${m.name}/${m.revision}" """
+          !badChars.contains(c)
+        )} = "/${m.name}/${m.revision}" """
     )
     .mkString("\n\n")
   val content = s"""package docspell.restserver.webapp