We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8060669 commit 0d0ce7fCopy full SHA for 0d0ce7f
1 file changed
android/Gutenberg/src/main/java/org/wordpress/gutenberg/model/EditorPreloadList.kt
@@ -107,6 +107,7 @@ data class EditorPreloadList private constructor(
107
fun build(formatted: Boolean = false): String {
108
val jsonElement = build()
109
return if (formatted) {
110
+ @Suppress("JSON_FORMAT_REDUNDANT") // This is only used in debug builds
111
Json { prettyPrint = true }.encodeToString(jsonElement)
112
} else {
113
Json.encodeToString(jsonElement)
0 commit comments