You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
When running spotlessCheck, the violated rules are not mentioned.
Here is the output of spotlessCheck:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':komga:spotlessKotlinCheck'.
> The following files had format violations:
src/main/kotlin/org/gotson/komga/application/tasks/TaskEmitter.kt
@@ -63,10 +63,11 @@
··}
··fun·hashBooksWithoutHash(library:·Library)·{
-····if·(library.hashFiles)
+····if·(library.hashFiles)·{
······bookRepository.findAllByLibraryIdAndWithEmptyHash(library.id).forEach·{
········submitTask(Task.HashBook(it.id,·LOWEST_PRIORITY,·it.seriesId))
······}
+····}
··}
··fun·findBooksWithMissingPageHash(library:·Library,·priority:·Int·=·DEFAULT_PRIORITY)·{
@@ -86,10 +87,11 @@
··}
··fun·repairExtensions(library:·Library,·priority:·Int·=·DEFAULT_PRIORITY)·{
-····if·(library.repairExtensions)
+····if·(library.repairExtensions)·{
······bookConverter.getMismatchedExtensionBooks(library).forEach·{
········submitTask(Task.RepairExtension(it.id,·priority,·it.seriesId))
······}
+····}
··}
··fun·findDuplicatePagesToDelete(library:·Library,·priority:·Int·=·DEFAULT_PRIORITY)·{
Run './gradlew :komga:spotlessApply' to fix these violations.
In comparison, here is the output of the ktlint command line:
Notice how the rule multiline-if-else is mentioned in there.
In addition, when running in IntelliJ, the filenames in the output of spotless are not links, and thus not clickable. It would be great to be able to click on the file names so i can open them directly.
In comparison, the command line output of ktlint is clickable.
When running
spotlessCheck
, the violated rules are not mentioned.Here is the output of
spotlessCheck
:In comparison, here is the output of the
ktlint
command line:Notice how the rule
multiline-if-else
is mentioned in there.In addition, when running in IntelliJ, the filenames in the output of spotless are not links, and thus not clickable. It would be great to be able to click on the file names so i can open them directly.

In comparison, the command line output of

ktlint
is clickable.Configuration:
The text was updated successfully, but these errors were encountered: