Skip to content

Commit 0db7da8

Browse files
committed
fix linter error
1 parent 7870ef8 commit 0db7da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/plugins/spec/selectors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export const getParentToChildMap = createSelector(
5555
specJS,
5656
spec => {
5757
const schemaMap = {}
58-
const schemas = spec?.components?.schemas;
59-
if (!!schemas) {
58+
const schemas = spec?.components?.schemas
59+
if (schemas) {
6060
Object.entries(schemas).forEach(([schemaName, schema]) => {
6161
if (schema.allOf) {
6262
schema.allOf.forEach(item => {

0 commit comments

Comments
 (0)