From 7b3ed85d171c156f895fdbaeff4d18572fc0f18e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sat, 6 Jul 2024 08:08:52 +0200 Subject: Backend: Fixed typos everywhere (#2175) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'annotation-processors/src/main') diff --git a/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt b/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt index 99d7904d0..5ce902613 100644 --- a/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt +++ b/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt @@ -90,10 +90,10 @@ class ModuleProcessor(private val codeGenerator: CodeGenerator, private val logg error("${warnings.size} errors related to event annotations found, please fix them before continuing. Click on the kspKotlin build log for more information.") } - val dependencies = symbols.mapNotNull { it.containingFile }.toTypedArray() - val deps = Dependencies(true, *dependencies) + val sources = symbols.mapNotNull { it.containingFile }.toTypedArray() + val dependencies = Dependencies(true, *sources) - val file = codeGenerator.createNewFile(deps, "at.hannibal2.skyhanni.skyhannimodule", "LoadedModules") + val file = codeGenerator.createNewFile(dependencies, "at.hannibal2.skyhanni.skyhannimodule", "LoadedModules") OutputStreamWriter(file).use { it.write("package at.hannibal2.skyhanni.skyhannimodule\n\n") -- cgit