Skip to content

Commit d9a890e

Browse files
committed
Remove -renovate-hint properties from descriptor
1 parent 22e06d6 commit d9a890e

File tree

1 file changed

+5
-1
lines changed
  • jupyter-lib/api/src/main/kotlin/org/jetbrains/kotlinx/jupyter/api/libraries

1 file changed

+5
-1
lines changed

jupyter-lib/api/src/main/kotlin/org/jetbrains/kotlinx/jupyter/api/libraries/variables.kt

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ object DescriptorVariablesSerializer : KSerializer<DescriptorVariables> {
4444
}
4545
else -> throw SerializationException("Library descriptor should be either object or array")
4646
}
47-
return DescriptorVariables(properties, hasOrder)
47+
48+
// We exclude hints for Renovate CI tool, see https://github.com/Kotlin/kotlin-jupyter-libraries/pull/201
49+
val productionProperties = properties.filter { !it.name.endsWith("-renovate-hint") }
50+
51+
return DescriptorVariables(productionProperties, hasOrder)
4852
}
4953

5054
override fun serialize(encoder: Encoder, value: DescriptorVariables) {

0 commit comments

Comments
 (0)