Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: non-string regular expressions should error
The error from `Value.String` was being ignored. Use `strValue` instead, which gives an error if the value is not a string. Signed-off-by: Roger Peppe <[email protected]> Change-Id: If599225bd9f3e2f5db6db3153dd0a40c01393504 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201124 Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information