User: rednesto Date: 16 Jul 23 20:41 Revision: a0ca0da5dda34b2abd0456bc9e1063f51d0730e5 Summary: Fix Ktlint error TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8648&personal=false Index: src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt =================================================================== --- src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt (revision c15638a28f6daeb351cd91caf3ab9b4594b4432d) +++ src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt (revision a0ca0da5dda34b2abd0456bc9e1063f51d0730e5) @@ -43,12 +43,14 @@ if (loomData.splitMinecraftJar) { return GlobalSearchScope.filesScope(element.project) { - DumbService.getInstance(module.project).runReadActionInSmartMode(Computable { + DumbService.getInstance(module.project).runReadActionInSmartMode( + Computable { - val moduleWithDeps = GlobalSearchScope.moduleWithDependenciesScope(module) - FilenameIndex.getVirtualFilesByName(FabricConstants.FABRIC_MOD_JSON, moduleWithDeps) + val moduleWithDeps = GlobalSearchScope.moduleWithDependenciesScope(module) + FilenameIndex.getVirtualFilesByName(FabricConstants.FABRIC_MOD_JSON, moduleWithDeps) - }) - } + } + ) - } + } + } return null }