aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-06-06 20:17:44 +1000
committerGitHub <noreply@github.com>2024-06-06 20:17:44 +1000
commit0d4efbd22a8ee629fe2f504fe3aa7acb78a66a2e (patch)
tree1f07f35cb3c6f9a514f8dd0274ec4e36672c4799
parent8e614826bfa47a9d740256cfefb4013aaed01e02 (diff)
downloadskyhanni-0d4efbd22a8ee629fe2f504fe3aa7acb78a66a2e.tar.gz
skyhanni-0d4efbd22a8ee629fe2f504fe3aa7acb78a66a2e.tar.bz2
skyhanni-0d4efbd22a8ee629fe2f504fe3aa7acb78a66a2e.zip
not on companions (#2016)
-rw-r--r--.live-plugins/module/plugin.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/.live-plugins/module/plugin.kts b/.live-plugins/module/plugin.kts
index d20021217..286160a9b 100644
--- a/.live-plugins/module/plugin.kts
+++ b/.live-plugins/module/plugin.kts
@@ -55,6 +55,7 @@ class ModuleInspectionKotlin : AbstractKotlinInspection() {
}
override fun visitObjectDeclaration(declaration: KtObjectDeclaration) {
+ if (declaration.isCompanion()) return
val hasAnnotation = declaration.annotationEntries.any { it.shortName?.asString() == skyHanniModule }
if (hasAnnotation) return