From eea61246aa424f76ab926bfad25299376d875453 Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Wed, 11 Dec 2024 17:30:07 +0530 Subject: [PATCH] Fix new detekt error --- .../airbnb/android/showkase/processor/ShowkaseProcessor.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt index 2d2a8d95..e3d3dc87 100644 --- a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt +++ b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt @@ -78,7 +78,11 @@ class ShowkaseProcessor @JvmOverloads constructor( ?.toSet()?.let { set.addAll(it) } return set } - override fun getSupportedOptions() = mutableSetOf("skipPrivatePreviews", "skipFunctionsWithPreviewAnnotation", "multiPreviewType") + override fun getSupportedOptions() = mutableSetOf( + "skipPrivatePreviews", + "skipFunctionsWithPreviewAnnotation", + "multiPreviewType" + ) override fun process(environment: XProcessingEnv, round: XRoundEnv) { val componentMetadata = processComponentAnnotation(round)