We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d9932 commit edd685fCopy full SHA for edd685f
sitelib/text/json/schema/validators.scm
@@ -75,11 +75,9 @@
75
(define lint-mode? (*json-schema:lint-mode?*))
76
(define ctx (make-validator-context lint-mode?))
77
(let ((r (validator v ctx)))
78
- (or (and lint-mode?
79
- (cond ((*json-schema:validator-error-reporter*) =>
80
- (lambda (reporter) (reporter ctx) r))
81
- (else r)))
82
- r))))
+ (cond ((*json-schema:validator-error-reporter*) =>
+ (lambda (reporter) (reporter ctx))))
+ r)))
83
84
(define (simple-json-schema-error-reporter ctx)
85
(define out (or (*json-schema:report-port*) (current-error-port)))
0 commit comments