Skip to content

Commit a0ca0da

Browse files
committed
Fix Ktlint error
1 parent c15638a commit a0ca0da

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ class FabricClientUseScopeEnlarger : UseScopeEnlarger() {
4343

4444
if (loomData.splitMinecraftJar) {
4545
return GlobalSearchScope.filesScope(element.project) {
46-
DumbService.getInstance(module.project).runReadActionInSmartMode(Computable {
47-
val moduleWithDeps = GlobalSearchScope.moduleWithDependenciesScope(module)
48-
FilenameIndex.getVirtualFilesByName(FabricConstants.FABRIC_MOD_JSON, moduleWithDeps)
49-
})
46+
DumbService.getInstance(module.project).runReadActionInSmartMode(
47+
Computable {
48+
val moduleWithDeps = GlobalSearchScope.moduleWithDependenciesScope(module)
49+
FilenameIndex.getVirtualFilesByName(FabricConstants.FABRIC_MOD_JSON, moduleWithDeps)
50+
}
51+
)
5052
}
5153
}
5254

0 commit comments

Comments
 (0)