Skip to content

Commit e5c63bb

Browse files
committed
Don't error when fabric license file can't be resolved
1 parent 22b4726 commit e5c63bb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/kotlin/com/demonwav/mcdev/platform/fabric/reference/LicenseReference.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
package com.demonwav.mcdev.platform.fabric.reference
1212

13-
import com.demonwav.mcdev.util.reference.InspectionReference
1413
import com.intellij.json.psi.JsonStringLiteral
1514
import com.intellij.openapi.module.ModuleManager
1615
import com.intellij.openapi.project.rootManager
@@ -31,11 +30,7 @@ object LicenseReference : PsiReferenceProvider() {
3130

3231
private class Reference(element: JsonStringLiteral) :
3332
PsiReferenceBase<JsonStringLiteral>(element),
34-
PsiPolyVariantReference,
35-
InspectionReference {
36-
37-
override val description = "LICENSE file"
38-
override val unresolved = resolve() == null
33+
PsiPolyVariantReference {
3934

4035
override fun multiResolve(incompleteCode: Boolean): Array<ResolveResult> {
4136
val modules = ModuleManager.getInstance(element.project).modules

0 commit comments

Comments
 (0)