Skip to content

Commit 501d2b8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a1ab257 commit 501d2b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/BowtieSampsonSchemaValidatorLauncher.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ class BowtieSampsonSchemaValidatorLauncher(
132132
return true
133133
}
134134
// ignore schemas for unsupported drafts
135-
return schema is JsonObject
136-
&& schema["\$schema"]
135+
return schema is JsonObject &&
136+
schema["\$schema"]
137137
?.jsonPrimitive
138138
?.content
139139
.let { it != null && SchemaType.find(it) == null }

0 commit comments

Comments
 (0)