Skip to content

Commit d9c778e

Browse files
authored
fix(json-schema-2020-12): use consistent comparison operators for displaying min/max constraints (#10159)
1 parent b9ed7e9 commit d9c778e

File tree

1 file changed

+2
-2
lines changed
  • src/core/plugins/json-schema-2020-12

1 file changed

+2
-2
lines changed

‎src/core/plugins/json-schema-2020-12/fn.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ const stringifyConstraintRange = (label, min, max) => {
295295
}
296296
}
297297
if (hasMin) {
298-
return `>= ${min} ${label}`
298+
return ` ${min} ${label}`
299299
}
300300
if (hasMax) {
301-
return `<= ${max} ${label}`
301+
return ` ${max} ${label}`
302302
}
303303

304304
return null

0 commit comments

Comments
 (0)